summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarnabás Pőcze <pobrn@protonmail.com>2023-05-04 16:31:44 +0200
committerSimon McVittie <smcv@collabora.com>2023-05-15 18:56:09 +0000
commit0098e306026ba5d0d1c4e4d975c06e9016502dfa (patch)
tree4f357fc4bf14d3d0b507c1dd2e9b7d6944182085
parente8af5838573583baa198fc05d7bfcfd3c6cac994 (diff)
downloaddbus-0098e306026ba5d0d1c4e4d975c06e9016502dfa.tar.gz
dbus-sysdeps-win: do not log function name twice
`_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>
-rw-r--r--dbus/dbus-sysdeps-win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c
index 11064bb4..fa408328 100644
--- a/dbus/dbus-sysdeps-win.c
+++ b/dbus/dbus-sysdeps-win.c
@@ -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: