[host] windows: use DEBUG_WINERROR for MsgWaitForMultipleObjects

This commit is contained in:
Quantum 2021-08-09 02:48:23 -04:00 committed by Geoffrey McRae
parent 87a21f5f5e
commit 5e13549f74
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ static DWORD WINAPI threadProc(LPVOID lParam)
} }
break; break;
default: default:
DEBUG_ERROR("MsgWaitForMultipleObjects failed: 0x%lx", GetLastError()); DEBUG_WINERROR("MsgWaitForMultipleObjects failed", GetLastError());
goto exit; goto exit;
} }
} }

View File

@ -151,7 +151,7 @@ static DWORD WINAPI threadProc(LPVOID lParam) {
} }
break; break;
default: default:
DEBUG_ERROR("MsgWaitForMultipleObjects failed: 0x%lx", GetLastError()); DEBUG_WINERROR("MsgWaitForMultipleObjects failed", GetLastError());
goto exit; goto exit;
} }
} }