summaryrefslogtreecommitdiffstats
path: root/usr.sbin/fdformat
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1998-08-13 05:36:56 +0000
committerderaadt <deraadt@openbsd.org>1998-08-13 05:36:56 +0000
commit6feebd7e4bf6d9934a833c6cbb8ae722f9775e7b (patch)
tree7b52e395bae8f45820d4d9eacd5b3cdd09180738 /usr.sbin/fdformat
parentFix card list: Robert Earl <rearl@teleport.com>. (diff)
downloadwireguard-openbsd-6feebd7e4bf6d9934a833c6cbb8ae722f9775e7b.tar.xz
wireguard-openbsd-6feebd7e4bf6d9934a833c6cbb8ae722f9775e7b.zip
fix exit code; fgsch@olimpo.com.br
Diffstat (limited to 'usr.sbin/fdformat')
-rw-r--r--usr.sbin/fdformat/fdformat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/fdformat/fdformat.c b/usr.sbin/fdformat/fdformat.c
index 2bbcd149e80..ac9a07348b3 100644
--- a/usr.sbin/fdformat/fdformat.c
+++ b/usr.sbin/fdformat/fdformat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fdformat.c,v 1.7 1998/07/13 22:35:52 deraadt Exp $ */
+/* $OpenBSD: fdformat.c,v 1.8 1998/08/13 05:36:56 deraadt Exp $ */
/*
* Copyright (C) 1992-1994 by Joerg Wunsch, Dresden
@@ -153,7 +153,7 @@ usage ()
printf("\t-S #\tspecify sector size, 0=128, 1=256, 2=512 bytes\n");
printf("\t-F #\tspecify fill byte\n");
printf("\t-t #\tnumber of steps per track\n");
- exit(1);
+ exit(2);
}
static int