Commit Graph

6 Commits

Author SHA1 Message Date
mpp
029ea9012d Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
wpaul
d2ee083e2f Amend my fix a bit. My way failed to take leap years into account. The
simplest thing is to just calculate the days using curtime - boottime / 86400.
The modification for this is less obtrusive anyway.

Suggested by: Bill Fenner <fenner@parc.xerox.com>
1995-11-21 05:43:27 +00:00
wpaul
891a755e5c Rup uses tm_yday in its uptime printout, but ignores tm_year. This means
that if you do an rup on a machine that's been running longer than a year,
you get the wrong day count. Now we factor in 365 * (curtime.tm_year -
boottime.tm_year) to get the correct value. (I noticed this while running
rup on a SunOS machine I have that's been up 525 days. My FreeBSD
machines all said it had only been up for 160 (525-365) days. :)
1995-11-19 05:33:30 +00:00
rgrimes
79e59e9123 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
ats
43d40a56f0 Fixed a typo. Seems this manual page has stemmed from the rwall
man page :-).
1994-11-18 21:37:40 +00:00
csgr
0b4a0ad53e rup from FreeBSD 1.1.5.1
Reviewed by:	Geoff
Submitted by:	John Brezak
1994-08-28 15:01:31 +00:00