Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/rndctl Make the usage string match the man page.
details: https://anonhg.NetBSD.org/src/rev/05ed535465d0
branches: trunk
changeset: 467884:05ed535465d0
user: mycroft <mycroft%NetBSD.org@localhost>
date: Tue Mar 30 17:32:44 1999 +0000
description:
Make the usage string match the man page.
diffstat:
sbin/rndctl/rndctl.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r c618938e2f5c -r 05ed535465d0 sbin/rndctl/rndctl.c
--- a/sbin/rndctl/rndctl.c Tue Mar 30 16:50:04 1999 +0000
+++ b/sbin/rndctl/rndctl.c Tue Mar 30 17:32:44 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rndctl.c,v 1.4 1999/02/28 17:42:37 explorer Exp $ */
+/* $NetBSD: rndctl.c,v 1.5 1999/03/30 17:32:44 mycroft Exp $ */
/*-
* Copyright (c) 1997 Michael Graff.
@@ -66,7 +66,9 @@
static void
usage(void)
{
- errx(1, "Usage: rndctl [-CEce | -l] [-d name | -t type]");
+ fprintf(stderr, "usage: rndctl -CEce [-t devtype] [-d devname]\n");
+ fprintf(stderr, " rndctl -l [-t devtype] [-d devname]\n");
+ exit(1);
}
u_int32_t
Home |
Main Index |
Thread Index |
Old Index