Page MenuHomeFreeBSD

D41414.diff
No OneTemporary

D41414.diff

diff --git a/usr.sbin/lastlogin/lastlogin.c b/usr.sbin/lastlogin/lastlogin.c
--- a/usr.sbin/lastlogin/lastlogin.c
+++ b/usr.sbin/lastlogin/lastlogin.c
@@ -38,7 +38,6 @@
__RCSID("$NetBSD: lastlogin.c,v 1.4 1998/02/03 04:45:35 perry Exp $");
#endif
-#include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -147,7 +146,8 @@
xo_close_list("lastlogin");
xo_close_container("lastlogin-information");
- xo_finish();
+ if (xo_finish() < 0)
+ xo_err(1, "stdout");
exit(0);
}
@@ -170,6 +170,5 @@
usage(void)
{
xo_error("usage: lastlogin [-f file] [-rt] [user ...]\n");
- xo_finish();
exit(1);
}

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 30, 9:45 PM (2 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16343884
Default Alt Text
D41414.diff (635 B)

Event Timeline