mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[winpr,clipboard] fix error message format string
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user