From 37bda83dfc5fa6cc12be84dc76dee70153351713 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Thu, 21 May 2009 11:58:59 +0000 Subject: [PATCH] * src/su.c: Use a boolean instead of 0. --- ChangeLog | 4 ++++ src/su.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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,