diff options
-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); } /* |