]> 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, 15 May 2023 18:56:09 +0000 (18:56 +0000)
`_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 11064bb435f18e09c360d738c52860aed069b612..fa40832861ad67941234380c66e130dc814bdec1 100644 (file)
@@ -1019,12 +1019,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: