diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-05-17 17:36:38 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-05-20 22:37:25 +0200 |
commit | 7486dea9f5f7b2a6fbbacc6db740a82140b6377c (patch) | |
tree | a7f7cfc4f772860423e56d363ade1f6408f45f71 /src/sbus | |
parent | 574061e65d3fb687b9cb2c757afa1fe92812245e (diff) | |
download | sssd-7486dea9f5f7b2a6fbbacc6db740a82140b6377c.tar.gz sssd-7486dea9f5f7b2a6fbbacc6db740a82140b6377c.tar.bz2 sssd-7486dea9f5f7b2a6fbbacc6db740a82140b6377c.zip |
Fixing critical format string issues.
--missing arguments.
--format '%s', but argument is integer.
--wrong format string, examle: '%\n'
Diffstat (limited to 'src/sbus')
-rw-r--r-- | src/sbus/sssd_dbus_server.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; } |