* src/usermod.c: Fix typo in comment.
This commit is contained in:
parent
95257d63a1
commit
aec025dbf6
@ -1,3 +1,7 @@
|
||||
2011-07-14 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* src/usermod.c: Fix typo in comment.
|
||||
|
||||
2011-07-08 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* src/groupadd.c: Fix typo in comment.
|
||||
|
@ -1591,7 +1591,7 @@ static void update_faillog (void)
|
||||
/* Check if the new UID already has an entry */
|
||||
if ( (lseek (fd, off_newuid, SEEK_SET) == off_newuid)
|
||||
&& (read (fd, &fl, sizeof fl) == (ssize_t) sizeof fl)) {
|
||||
/* Reset the new uid's lastlog entry */
|
||||
/* Reset the new uid's faillog entry */
|
||||
memzero (&fl, sizeof (fl));
|
||||
if ( (lseek (fd, off_newuid, SEEK_SET) != off_newuid)
|
||||
|| (write (fd, &fl, sizeof fl) != (ssize_t) sizeof fl)
|
||||
|
Loading…
Reference in New Issue
Block a user