[winpr,clipboard] fix error message format string

This commit is contained in:
Armin Novak
2023-02-21 12:56:25 +01:00
committed by akallabeth
parent 62028f1488
commit 10404121c4

View File

@@ -1180,7 +1180,7 @@ static UINT file_get_range(struct synthetic_file* file, UINT64 offset, UINT32 si
if (INVALID_HANDLE_VALUE == file->fd)
{
error = GetLastError();
WLog_ERR(TAG, "failed to open file %s: %s", file->local_name, error);
WLog_ERR(TAG, "failed to open file %s: 0x%08" PRIx32, file->local_name, error);
return error;
}
@@ -1189,7 +1189,7 @@ static UINT file_get_range(struct synthetic_file* file, UINT64 offset, UINT32 si
file->fd = INVALID_HANDLE_VALUE;
CloseHandle(file->fd);
error = GetLastError();
WLog_ERR(TAG, "Get file [%s] information fail: %d", file->local_name, error);
WLog_ERR(TAG, "Get file [%s] information fail: 0x%08" PRIx32, file->local_name, error);
return error;
}