]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Fix printf format string in _dbus_win_event_create_inheritable()
authorRalf Habacker <ralf.habacker@freenet.de>
Wed, 24 Nov 2021 12:43:57 +0000 (13:43 +0100)
committerRalf Habacker <ralf.habacker@freenet.de>
Thu, 25 Nov 2021 08:46:06 +0000 (09:46 +0100)
Fixup for commit 3f7c36f4.

dbus/dbus-sysdeps-win.c

index 654416a3358d70276a8a3b7b45251eb060fcc38b..32126bbc8071817cce112f1f3fff51c6b80708dd 100644 (file)
@@ -4085,7 +4085,7 @@ _dbus_win_event_create_inheritable (DBusError *error)
 
   if (!SetHandleInformation (handle, HANDLE_FLAG_INHERIT, HANDLE_FLAG_INHERIT))
     {
-      _dbus_win_set_error_from_last_error (error, "Could not set inheritance for event %s", handle);
+      _dbus_win_set_error_from_last_error (error, "Could not set inheritance for event %p", handle);
       CloseHandle (handle);
       return NULL;
     }