mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[c,printf] fix wlog format string to match arguments
This commit is contained in:
@@ -332,8 +332,11 @@ HANDLE CreateEventExW(LPSECURITY_ATTRIBUTES lpEventAttributes, LPCWSTR lpName, D
|
||||
manual = TRUE;
|
||||
|
||||
if (dwDesiredAccess != 0)
|
||||
WLog_WARN(TAG, "[%s] does not support dwDesiredAccess 0x%08" PRIx32, lpName,
|
||||
dwDesiredAccess);
|
||||
{
|
||||
char name[MAX_PATH] = { 0 };
|
||||
ConvertWCharToUtf8(lpName, name, sizeof(name) - 1);
|
||||
WLog_WARN(TAG, "[%s] does not support dwDesiredAccess 0x%08" PRIx32, name, dwDesiredAccess);
|
||||
}
|
||||
|
||||
return CreateEventW(lpEventAttributes, manual, initial, lpName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user