summaryrefslogtreecommitdiffstats
path: root/usr.bin/rup
Commit message (Collapse)AuthorAgeFilesLines
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-143-3/+3
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Fix bug found by newly visible prototypes in rpc. The code was passingpeter1996-12-301-2/+5
| | | | an in to a function instead of a "struct timeval".
* Fix a bunch of spelling errors in a bunch of man pages.mpp1996-01-301-2/+2
|
* Amend my fix a bit. My way failed to take leap years into account. Thewpaul1995-11-211-11/+4
| | | | | | | 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>
* Rup uses tm_yday in its uptime printout, but ignores tm_year. This meanswpaul1995-11-191-3/+11
| | | | | | | | 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. :)
* Remove trailing whitespace.rgrimes1995-05-301-6/+6
|
* Fixed a typo. Seems this manual page has stemmed from the rwallats1994-11-181-2/+2
| | | | man page :-).
* rup from FreeBSD 1.1.5.1csgr1994-08-283-0/+330
Reviewed by: Geoff Submitted by: John Brezak
OpenPOWER on IntegriCloud