* libmisc/sulog.c: Likewise for the su log.
This commit is contained in:
parent
a65c2c9b18
commit
dab1523df5
@ -6,6 +6,7 @@
|
|||||||
and mail spool.
|
and mail spool.
|
||||||
* src/usermod.c: Likewise for the faillog and lastlog file.
|
* src/usermod.c: Likewise for the faillog and lastlog file.
|
||||||
* src/vipw.c: Likewise for the backup file.
|
* src/vipw.c: Likewise for the backup file.
|
||||||
|
* libmisc/sulog.c: Likewise for the su log.
|
||||||
|
|
||||||
2009-03-15 Nicolas François <nicolas.francois@centraliens.net>
|
2009-03-15 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
@ -97,6 +97,7 @@ void sulog (const char *tty, bool success, const char *oldname, const char *name
|
|||||||
success ? '+' : '-', tty, oldname, name);
|
success ? '+' : '-', tty, oldname, name);
|
||||||
|
|
||||||
(void) fflush (fp);
|
(void) fflush (fp);
|
||||||
|
fsync (fileno (fp));
|
||||||
fclose (fp);
|
fclose (fp);
|
||||||
/* TODO: log if failure */
|
/* TODO: log if failure */
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user