summaryrefslogtreecommitdiff
path: root/usr.sbin/fdformat/fdformat.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-08-13 05:36:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-08-13 05:36:57 +0000
commitaf4f47694cc5ea0ecec0c10d28038a90415d7922 (patch)
treecb126c0b5f2312b685667e9ebe670d90d1e03698 /usr.sbin/fdformat/fdformat.c
parente7fca961dd3efee9dacb7074db1de9f1100f5552 (diff)
fix exit code; fgsch@olimpo.com.br
Diffstat (limited to 'usr.sbin/fdformat/fdformat.c')
-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