]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
dbus-sysdeps-win: do not log function name twice
authorBarnabás Pőcze <pobrn@protonmail.com>
Thu, 4 May 2023 14:31:44 +0000 (16:31 +0200)
committerSimon McVittie <smcv@collabora.com>
Mon, 5 Jun 2023 18:58:41 +0000 (19:58 +0100)
`_dbus_verbose()` already logs the function name,
do not log it again in the message.

Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
dbus/dbus-sysdeps-win.c

index 9d9552d062ddd6702f28c174a4244b27a35b97c8..0d8beb412b7ad4cc8ad0187ece0945d2c9ff63e7 100644 (file)
@@ -1012,12 +1012,12 @@ _dbus_getsid(char **sid, dbus_pid_t process_id)
   psid = token_user->User.Sid;
   if (!IsValidSid (psid))
     {
-      _dbus_verbose("%s invalid sid\n",__FUNCTION__);
+      _dbus_verbose("invalid sid\n");
       goto failed;
     }
   if (!ConvertSidToStringSidA (psid, sid))
     {
-      _dbus_verbose("%s invalid sid\n",__FUNCTION__);
+      _dbus_verbose("invalid sid\n");
       goto failed;
     }
 //okay: