* 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>
|
2011-07-08 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* src/groupadd.c: Fix typo in comment.
|
* 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 */
|
/* Check if the new UID already has an entry */
|
||||||
if ( (lseek (fd, off_newuid, SEEK_SET) == off_newuid)
|
if ( (lseek (fd, off_newuid, SEEK_SET) == off_newuid)
|
||||||
&& (read (fd, &fl, sizeof fl) == (ssize_t) sizeof fl)) {
|
&& (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));
|
memzero (&fl, sizeof (fl));
|
||||||
if ( (lseek (fd, off_newuid, SEEK_SET) != off_newuid)
|
if ( (lseek (fd, off_newuid, SEEK_SET) != off_newuid)
|
||||||
|| (write (fd, &fl, sizeof fl) != (ssize_t) sizeof fl)
|
|| (write (fd, &fl, sizeof fl) != (ssize_t) sizeof fl)
|
||||||
|
Loading…
Reference in New Issue
Block a user