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);
                }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to