mirror of https://github.com/FreeRDP/FreeRDP
[winpr,clipboard] fix error message format string
This commit is contained in:
parent
62028f1488
commit
10404121c4
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue