summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkstailey <kstailey@openbsd.org>1997-07-15 14:41:06 +0000
committerkstailey <kstailey@openbsd.org>1997-07-15 14:41:06 +0000
commit8a09a9346616a31f2cc20fd81867299be1e9d040 (patch)
treeafba40018570c6a82b5dc14a760e15886f607e75
parentkeyboard() does not return an int (diff)
downloadwireguard-openbsd-8a09a9346616a31f2cc20fd81867299be1e9d040.tar.xz
wireguard-openbsd-8a09a9346616a31f2cc20fd81867299be1e9d040.zip
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