From 5e13549f74cc3c3c4daa85ec7d0a2858f9804c75 Mon Sep 17 00:00:00 2001 From: Quantum Date: Mon, 9 Aug 2021 02:48:23 -0400 Subject: [PATCH] [host] windows: use DEBUG_WINERROR for MsgWaitForMultipleObjects --- host/platform/Windows/src/force_compose.c | 2 +- host/platform/Windows/src/mousehook.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/host/platform/Windows/src/force_compose.c b/host/platform/Windows/src/force_compose.c index 7b1cb03a..beeefee9 100644 --- a/host/platform/Windows/src/force_compose.c +++ b/host/platform/Windows/src/force_compose.c @@ -106,7 +106,7 @@ static DWORD WINAPI threadProc(LPVOID lParam) } break; default: - DEBUG_ERROR("MsgWaitForMultipleObjects failed: 0x%lx", GetLastError()); + DEBUG_WINERROR("MsgWaitForMultipleObjects failed", GetLastError()); goto exit; } } diff --git a/host/platform/Windows/src/mousehook.c b/host/platform/Windows/src/mousehook.c index ba96b317..72b34ca7 100644 --- a/host/platform/Windows/src/mousehook.c +++ b/host/platform/Windows/src/mousehook.c @@ -151,7 +151,7 @@ static DWORD WINAPI threadProc(LPVOID lParam) { } break; default: - DEBUG_ERROR("MsgWaitForMultipleObjects failed: 0x%lx", GetLastError()); + DEBUG_WINERROR("MsgWaitForMultipleObjects failed", GetLastError()); goto exit; } }