]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
Fix text output for the uptime command.
authormarcel <marcel@FreeBSD.org>
Tue, 11 Nov 2014 21:52:10 +0000 (21:52 +0000)
committermarcel <marcel@FreeBSD.org>
Tue, 11 Nov 2014 21:52:10 +0000 (21:52 +0000)
Reported by: "Max N. Boyarov" <zotrix@bsd.by>, ae@

usr.bin/w/w.c

index 059f7ce560289fa6a784031a4e0c28d59830aa0e..effd0e304ae0c81fcda66ea6c8b9d8ff5670f746 100644 (file)
@@ -509,7 +509,7 @@ pr_header(time_t *nowp, int nusers)
        }
 
        /* Print number of users logged in to system */
-       xo_emit(" {:users/%d} user%s", nusers, nusers == 1 ? "" : "s");
+       xo_emit(" {:users/%d} {N:user%s}", nusers, nusers == 1 ? "" : "s");
 
        /*
         * Print 1, 5, and 15 minute load averages.