summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-02-10 16:07:23 +0000
committerru <ru@FreeBSD.org>2005-02-10 16:07:23 +0000
commit42eef8eb6f91be49ffb90c29302a0c3430a043c7 (patch)
tree8efd20493ec54c1f84ced954d939724a81950770 /usr.bin
parent4666872d3b5d712b3d83fc128d787daafaf1d9ac (diff)
downloadFreeBSD-src-42eef8eb6f91be49ffb90c29302a0c3430a043c7.zip
FreeBSD-src-42eef8eb6f91be49ffb90c29302a0c3430a043c7.tar.gz
Fixed usage().
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/whereis/whereis.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/whereis/whereis.c b/usr.bin/whereis/whereis.c
index 84b0e41..c212e28 100644
--- a/usr.bin/whereis/whereis.c
+++ b/usr.bin/whereis/whereis.c
@@ -88,8 +88,9 @@ void usage(void);
void
usage(void)
{
- errx(EX_USAGE,
- "usage: whereis [-abmqsux] [-BMS dir... -f] name ...");
+ (void)fprintf(stderr,
+ "usage: whereis [-abmqsux] [-BMS dir ... -f] program ...\n");
+ exit(EX_USAGE);
}
/*
OpenPOWER on IntegriCloud