diff options
author | Alex Feldman <alex@cvs.openbsd.org> | 1999-05-19 03:17:17 +0000 |
---|---|---|
committer | Alex Feldman <alex@cvs.openbsd.org> | 1999-05-19 03:17:17 +0000 |
commit | 7dd7a386ee321dc5b6befba36cc2634639a23384 (patch) | |
tree | 8e2af35215558fc38efd2212c2cf785fb1399927 /sbin/fsdb | |
parent | c03667dbf4562ada49e5610b8a308e6b96bce2d1 (diff) |
Use fprintf/exit in place of errx for usage display.
Diffstat (limited to 'sbin/fsdb')
-rw-r--r-- | sbin/fsdb/fsdb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/fsdb/fsdb.c b/sbin/fsdb/fsdb.c index 2eb0a0f524a..1ba03e1a138 100644 --- a/sbin/fsdb/fsdb.c +++ b/sbin/fsdb/fsdb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fsdb.c,v 1.5 1998/08/08 20:56:28 deraadt Exp $ */ +/* $OpenBSD: fsdb.c,v 1.6 1999/05/19 03:17:15 alex Exp $ */ /* $NetBSD: fsdb.c,v 1.7 1997/01/11 06:50:53 lukem Exp $ */ /*- @@ -86,7 +86,8 @@ ino_t curinum; static void usage() { - errx(1, "usage: %s [-d] -f <fsname>", __progname); + fprintf(stderr, "usage: %s [-d] -f <fsname>\n", __progname); + exit(1); } /* |