* src/su.c: Use a boolean instead of 0.

This commit is contained in:
nekral-guest 2009-05-21 11:58:59 +00:00
parent 16ea6678ef
commit 37bda83dfc
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-05-21 Nicolas François <nicolas.francois@centraliens.net>
* src/su.c: Use a boolean instead of 0.
2009-05-20 Nicolas François <nicolas.francois@centraliens.net>
* man/usermod.8.xml: Fixed typos.

View File

@ -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,