+2009-04-20 Sven Joachim <svenjoac@gmx.de>
+
+ * NEWS, src/lastlog.c: Fix regression causing empty reports.
+
2009-04-20 Nicolas François <nicolas.francois@centraliens.net>
* src/login.c: Get rid of pwent. pwd is sufficient as long as it
lead to DOS attacks.
* (PAM) Even if the user was already authenticated (-f flag), ask the
user to update his authentication token if needed.
+- lastlog
+ * Fix regression causing empty reports.
*** translation
- Updated Korean translation
exit (1);
}
- print ();
- /* Get the laslog size */
+ /* Get the lastlog size */
if (fstat (fileno (lastlogfile), &statbuf) != 0) {
fprintf (stderr,
_("lastlog: Cannot get the size of %s: %s\n"),
exit (1);
}
+ print ();
+
fclose (lastlogfile);
exit (0);
}