From f2e59eb7ce0c41a6c3d40139420241eae5d73bc7 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Wed, 21 Mar 2018 19:29:44 +0100 Subject: [PATCH] dbus-transport-socket: Correctly print DBusSocket with DBUS_SOCKET_FORMAT Previously, on 64-bit Windows we were passing a 32-bit int where the format string expects a 64-bit SOCKET. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=105662 --- dbus/dbus-transport-socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus/dbus-transport-socket.c b/dbus/dbus-transport-socket.c index fc941823..af4aa5b0 100644 --- a/dbus/dbus-transport-socket.c +++ b/dbus/dbus-transport-socket.c @@ -1026,7 +1026,7 @@ socket_handle_watch (DBusTransport *transport, flags); else _dbus_verbose ("asked to handle watch %p on fd %" DBUS_SOCKET_FORMAT " that we don't recognize\n", - watch, dbus_watch_get_socket (watch)); + watch, _dbus_socket_printable (_dbus_watch_get_socket (watch))); } #endif /* DBUS_ENABLE_VERBOSE_MODE */ -- 2.12.3