summaryrefslogtreecommitdiffstats
path: root/usr.bin/rup
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) police: use certified section headers wherever possible.ru2000-11-171-1/+1
|
* getopt and friends are declared in <unistd.h>imp2000-09-041-1/+0
| | | | getopt returns -1 not EOF.
* Use .Pacharnier2000-03-261-2/+3
|
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* PR: bin/6193danny1998-04-011-2/+2
| | | | | Submitted by: Max Euston <meuston@jmrodgers.com> Make times between 0000-0059 and 1200-1259 show as 12:xx, not 0:xx
* Silence a warning with a cast.jkh1997-09-151-2/+2
|
* Use err(3), so eliminate use of `argv0'.charnier1997-08-072-27/+24
|
* Revert $FreeBSD$ to $Id$peter1997-02-223-3/+3
|
* 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