From: Ralf Habacker Date: Wed, 24 Nov 2021 12:43:57 +0000 (+0100) Subject: Fix printf format string in _dbus_win_event_create_inheritable() X-Git-Tag: dbus-1.13.20~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42e2dd56b4daa7809e118d9736e2989b600930d4;p=thirdparty%2Fdbus.git Fix printf format string in _dbus_win_event_create_inheritable() Fixup for commit 3f7c36f4. --- diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c index 654416a33..32126bbc8 100644 --- a/dbus/dbus-sysdeps-win.c +++ b/dbus/dbus-sysdeps-win.c @@ -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; }