--- Linux-PAM-1.1.0/modules/pam_lastlog/pam_lastlog.c.orig 2009-10-27 20:33:26.285790481 +0900 +++ Linux-PAM-1.1.0/modules/pam_lastlog/pam_lastlog.c 2009-10-27 20:39:59.996604837 +0900 @@ -471,7 +471,7 @@ failed), failed); #else - if (daysleft == 1) + if (failed == 1) retval = asprintf(&line, _("There was %d failed login attempt since the last successful login."), failed);