summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-07-15 14:41:07 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-07-15 14:41:07 +0000
commitfaa44b180d1d4b04b6053ff39386b9444bf03820 (patch)
treed504ec12726c75cbd035a62a9b07ed998573026e
parent02b849d6f20b509685bdcc0765cf11634ebaeb68 (diff)
initxxx() routines return 1 on success, not zero.
(ob-theo-style-commit-comment: "Argh! *sigh* not-nice!")
-rw-r--r--usr.bin/systat/iostat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/systat/iostat.c b/usr.bin/systat/iostat.c
index 205513c76b9..7bd0041f7ea 100644
--- a/usr.bin/systat/iostat.c
+++ b/usr.bin/systat/iostat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iostat.c,v 1.8 1997/06/23 22:21:47 millert Exp $ */
+/* $OpenBSD: iostat.c,v 1.9 1997/07/15 14:41:06 kstailey Exp $ */
/* $NetBSD: iostat.c,v 1.5 1996/05/10 23:16:35 thorpej Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)iostat.c 8.1 (Berkeley) 6/6/93";
#endif
-static char rcsid[] = "$OpenBSD: iostat.c,v 1.8 1997/06/23 22:21:47 millert Exp $";
+static char rcsid[] = "$OpenBSD: iostat.c,v 1.9 1997/07/15 14:41:06 kstailey Exp $";
#endif not lint
#include <sys/param.h>
@@ -90,7 +90,7 @@ initiostat()
{
dkinit(1);
dkreadstats();
- return 0;
+ return (1);
}
void