diff options
author | ru <ru@FreeBSD.org> | 2005-02-10 16:07:23 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-02-10 16:07:23 +0000 |
commit | 42eef8eb6f91be49ffb90c29302a0c3430a043c7 (patch) | |
tree | 8efd20493ec54c1f84ced954d939724a81950770 /usr.bin | |
parent | 4666872d3b5d712b3d83fc128d787daafaf1d9ac (diff) | |
download | FreeBSD-src-42eef8eb6f91be49ffb90c29302a0c3430a043c7.zip FreeBSD-src-42eef8eb6f91be49ffb90c29302a0c3430a043c7.tar.gz |
Fixed usage().
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/whereis/whereis.c | 5 |
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); } /* |