Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F141097403
D41414.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
635 B
Referenced Files
None
Subscribers
None
D41414.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 1, 8:06 PM (5 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27443759
Default Alt Text
D41414.diff (635 B)
Attached To
Mode
D41414: lastlogin: Complete libxo transition.
Attached
Detach File
Event Timeline
Log In to Comment