summaryrefslogtreecommitdiff
path: root/sbin/fsdb
diff options
context:
space:
mode:
authorAlex Feldman <alex@cvs.openbsd.org>1999-05-19 03:17:17 +0000
committerAlex Feldman <alex@cvs.openbsd.org>1999-05-19 03:17:17 +0000
commit7dd7a386ee321dc5b6befba36cc2634639a23384 (patch)
tree8e2af35215558fc38efd2212c2cf785fb1399927 /sbin/fsdb
parentc03667dbf4562ada49e5610b8a308e6b96bce2d1 (diff)
Use fprintf/exit in place of errx for usage display.
Diffstat (limited to 'sbin/fsdb')
-rw-r--r--sbin/fsdb/fsdb.c5
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);
}
/*