svn commit: r278541 - head/usr.bin/w
Michael Gmelin
grembo at FreeBSD.org
Tue Feb 10 22:23:53 UTC 2015
Author: grembo (ports committer)
Date: Tue Feb 10 22:23:52 2015
New Revision: 278541
URL: https://svnweb.freebsd.org/changeset/base/278541
Log:
Add xo_finish() to w.c in case it's invoked as uptime
Reviewed by: marcel
Approved by: marcel
Differential Revision: https://reviews.freebsd.org/D1821
Modified:
head/usr.bin/w/w.c
Modified: head/usr.bin/w/w.c
==============================================================================
--- head/usr.bin/w/w.c Tue Feb 10 22:05:57 2015 (r278540)
+++ head/usr.bin/w/w.c Tue Feb 10 22:23:52 2015 (r278541)
@@ -264,7 +264,9 @@ main(int argc, char *argv[])
if (header || wcmd == 0) {
pr_header(&now, nusers);
if (wcmd == 0) {
- xo_close_container("uptime-information");
+ xo_close_container("uptime-information");
+ xo_finish();
+
(void)kvm_close(kd);
exit(0);
}
More information about the svn-src-all
mailing list