* src/su.c: Use a boolean instead of 0.
This commit is contained in:
parent
16ea6678ef
commit
37bda83dfc
@ -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.
|
||||
|
2
src/su.c
2
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,
|
||||
|
Loading…
Reference in New Issue
Block a user