Commit 6c58015e authored by Simon McVittie's avatar Simon McVittie Committed by Simon McVittie

dbus-file-win: print a HANDLE correctly

HANDLEs are pointers, not integers.
Signed-off-by: default avatarSimon McVittie <>
parent 34b1b3f0
......@@ -73,7 +73,7 @@ _dbus_file_read (HANDLE hnd,
char *emsg = _dbus_win_error_string (GetLastError ());
dbus_set_error (error, _dbus_win_error_from_last_error (),
"Failed to read from 0x%x: %s", hnd, emsg);
"Failed to read from %p: %s", hnd, emsg);
_dbus_win_free_error_string (emsg);
return -1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment