From: nekral-guest Date: Thu, 21 May 2009 11:58:59 +0000 (+0000) Subject: * src/su.c: Use a boolean instead of 0. X-Git-Tag: 4.1.4.1~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37bda83dfc5fa6cc12be84dc76dee70153351713;p=shadow * src/su.c: Use a boolean instead of 0. --- diff --git a/ChangeLog b/ChangeLog index b71b023b..30096a53 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-05-21 Nicolas François + + * src/su.c: Use a boolean instead of 0. + 2009-05-20 Nicolas François * man/usermod.8.xml: Fixed typos. diff --git a/src/su.c b/src/su.c index 80f8667d..3cb66f66 100644 --- a/src/su.c +++ b/src/su.c @@ -161,7 +161,7 @@ static bool restricted_shell (const char *shellstr) static void su_failure (const char *tty) { - sulog (tty, 0, oldname, name); /* log failed attempt */ + sulog (tty, false, oldname, name); /* log failed attempt */ #ifdef USE_SYSLOG if (getdef_bool ("SYSLOG_SU_ENAB")) { SYSLOG (((0 != pwent.pw_uid) ? LOG_INFO : LOG_NOTICE,