From aec025dbf69789b30d358c9cf4fe5363b3ac393e Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Thu, 14 Jul 2011 13:28:59 +0000 Subject: [PATCH] * src/usermod.c: Fix typo in comment. --- ChangeLog | 4 ++++ src/usermod.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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)