projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34b1b3f
)
dbus-file-win: print a HANDLE correctly
author
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Fri, 7 Oct 2016 18:27:50 +0000
(19:27 +0100)
committer
Simon McVittie
<smcv@debian.org>
Thu, 13 Oct 2016 21:44:12 +0000
(22:44 +0100)
HANDLEs are pointers, not integers.
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
dbus/dbus-file-win.c
patch
|
blob
|
history
diff --git
a/dbus/dbus-file-win.c
b/dbus/dbus-file-win.c
index
0dbe11e
..
bdd0dcf
100644
(file)
--- 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;
}