summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-01-10 15:28:37 +0000
committerpeter <peter@FreeBSD.org>1999-01-10 15:28:37 +0000
commitd66a1cb0301100ca00653d74bc27539c03a788c6 (patch)
tree7ff19b209c495bb47c96b41b9eba34f5deb00e9b /sys
parent7f3d2452320394dccd35802fb6ca523094e5ef8a (diff)
downloadFreeBSD-src-d66a1cb0301100ca00653d74bc27539c03a788c6.zip
FreeBSD-src-d66a1cb0301100ca00653d74bc27539c03a788c6.tar.gz
Fix the annoying bug introduced in rev 1.18 that caused each line to be
one character shorter than the previous in a stairstep fashion when long idle times were involved. A couple of nits: - spelling/typo fix. - some of the easier style(9) fixes where it was bothering me. - Handle 100+ days idle time (ha!). Probably the right thing to do is to do a snprintf into a buffer and strlen the result rather than doing hackery on magic numbers. XXX the wide (and mostly unused) username and tty columns annoy me since it it could be used for more useful information for the command. We should actually count the largest username and tty and adjust like 'ls -l' does.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud