diff options
| author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2016-10-07 19:27:50 +0100 |
|---|---|---|
| committer | Simon McVittie <smcv@debian.org> | 2016-10-13 22:44:12 +0100 |
| commit | 6c58015ebe682595e3f11d23329befb53c2ea6bc (patch) | |
| tree | 36d34d19b9971721676e2074ae9b70dce43444b8 | |
| parent | 34b1b3f06d73bf85d81258595b49056ccf189083 (diff) | |
dbus-file-win: print a HANDLE correctly
HANDLEs are pointers, not integers.
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
| -rw-r--r-- | dbus/dbus-file-win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-file-win.c b/dbus/dbus-file-win.c index 0dbe11ec..bdd0dcf8 100644 --- a/dbus/dbus-file-win.c +++ b/dbus/dbus-file-win.c @@ -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; } |
