diff --git a/ChangeLog b/ChangeLog index f51b9c82..cef066fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-07-14 Nicolas François + + * src/usermod.c: Fix typo in comment. + 2011-07-08 Nicolas François * src/groupadd.c: Fix typo in comment. diff --git a/src/usermod.c b/src/usermod.c index 11c925be..cd63089a 100644 --- a/src/usermod.c +++ b/src/usermod.c @@ -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)