1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/usr.bin/w
Allan Jude 630a02daae Fix libxo output from uptime command
the libxo output for uptime returned multiple 'uptime' keys, one each for number of days, hours, and minutes of uptime.
This is invalid JSON.
This patch makes the output the raw number of seconds, as well as adding keys for the individual unit values
A string of the original output from the plain-text uptime command is also added

Differential Revision:	https://reviews.freebsd.org/D2063
Reviewed by:	jmg
Approved by:	marcel
Sponsored by:	ScaleEngine Inc.
2015-04-16 22:09:37 +00:00
..
extern.h
Makefile Fix libxo output from uptime command 2015-04-16 22:09:37 +00:00
pr_time.c Convert to use libxo. 2014-11-05 23:54:33 +00:00
proc_compare.c
uptime.1
w.1 Sort the references in "SEE ALSO" by section first; then alphabetically. 2014-11-06 16:17:41 +00:00
w.c Fix libxo output from uptime command 2015-04-16 22:09:37 +00:00