]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
su: fix debug message
authorKarel Zak <kzak@redhat.com>
Fri, 11 Aug 2017 13:15:16 +0000 (15:15 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 18 Sep 2017 09:48:56 +0000 (11:48 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/su-common.c

index 61227f5b0df0a900e17e7d0fc74a5c567f784b3f..e7035df9ba4d92a46008855ddd71e1f6a33787be 100644 (file)
@@ -630,7 +630,7 @@ static bool is_restricted_shell(const char *shell)
        }
        endusershell();
 
-       DBG(MISC, ul_debug("%s is restricted shell (not in /etc/shells)"));
+       DBG(MISC, ul_debug("%s is restricted shell (not in /etc/shells)", shell));
        return true;
 }