From 7486dea9f5f7b2a6fbbacc6db740a82140b6377c Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Fri, 17 May 2013 17:36:38 +0200 Subject: Fixing critical format string issues. --missing arguments. --format '%s', but argument is integer. --wrong format string, examle: '%\n' --- src/sbus/sssd_dbus_server.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/sbus') diff --git a/src/sbus/sssd_dbus_server.c b/src/sbus/sssd_dbus_server.c index 2255d196..3ada25b6 100644 --- a/src/sbus/sssd_dbus_server.c +++ b/src/sbus/sssd_dbus_server.c @@ -165,8 +165,9 @@ remove_socket_symlink(const char *symlink_name) ret = unlink(symlink_name); if (ret != 0) { ret = errno; - DEBUG(2, ("unlink failed to remove [%s] [%d]: %s\n", - symlink, ret, strerror(ret))); + DEBUG(SSSDBG_CRIT_FAILURE, + ("unlink failed to remove [%s] [%d]: %s\n", + symlink_name, ret, strerror(ret))); return ret; } -- cgit