summaryrefslogtreecommitdiff
path: root/usr.sbin/ngctl/main.c
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>2004-01-04 16:11:29 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>2004-01-04 16:11:29 +0000
commitb00304d4a180cf557e7337fa86a37b5d95df47e9 (patch)
tree3cb06030742f34d86121b2e5cf62680c63e2501e /usr.sbin/ngctl/main.c
parentce6ce58ca10b22500700fc85cd5d0d48fcb4801b (diff)
downloadsrc-test2-b00304d4a180cf557e7337fa86a37b5d95df47e9.tar.gz
src-test2-b00304d4a180cf557e7337fa86a37b5d95df47e9.zip
Notes
Diffstat (limited to 'usr.sbin/ngctl/main.c')
-rw-r--r--usr.sbin/ngctl/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ngctl/main.c b/usr.sbin/ngctl/main.c
index 06010cf83468..08671936e4a6 100644
--- a/usr.sbin/ngctl/main.c
+++ b/usr.sbin/ngctl/main.c
@@ -502,6 +502,7 @@ Usage(const char *msg)
{
if (msg)
warnx("%s", msg);
- errx(EX_USAGE, "usage: ngctl [-d] [-f file] [-n name] [command ...]");
+ fprintf(stderr,
+ "usage: ngctl [-d] [-f file] [-n name] [command ...]\n");
+ exit(EX_USAGE);
}
-