Commit Graph

13 Commits

Author SHA1 Message Date
Mike Barcroft
5f45ba86a7 Make the utility name in the usage() diagnostic match the actual
utility name.

Submitted by:	3d
PR:		33496
2002-01-06 19:57:26 +00:00
Philippe Charnier
cf6b5cdb0f -Wall cleaning. Use getopt(3). 2000-11-28 18:09:08 +00:00
Peter Wemm
97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
John Polstra
f40b2bd44f Fix: too many arguments passed to fprintf(). 1997-11-18 05:56:03 +00:00
Philippe Charnier
355c9698df Use err(3), add usage(). 1997-09-17 06:27:23 +00:00
Peter Wemm
476602a9d0 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
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.
1997-01-14 07:20:47 +00:00
Bruce Evans
468ed942cd Merged type changes and overflow bug fixes from Lite2.
Fixed the gets() changes.  The buffer contents is indeterminate when
fgets() returns NULL...  Now when you type EOT at one of the prompts,
the program usually spins reading the sticky EOF instead of dumping
core.  Even GUIs could do better.

Added $Id$.

Obtained from:	partly from 4.4BSD-Lite2
1996-03-19 15:38:44 +00:00
Jordan K. Hubbard
32c45b7219 Fix second gets() -> fgets() conversion botch I missed. 1995-12-02 11:01:43 +00:00
Jordan K. Hubbard
6474989dfe Account for newline in fgets(). Whoops!
Noticed by:	peter
1995-12-01 10:26:20 +00:00
Jordan K. Hubbard
1c71c164fc Stamp out more calls to gets(). 1995-12-01 08:02:06 +00:00
Rodney W. Grimes
709e8f9ae1 Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
Rodney W. Grimes
dea673e932 BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00