summaryrefslogtreecommitdiff
path: root/usr.bin/systat/iostat.c
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2001-12-07 07:57:37 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2001-12-07 07:57:37 +0000
commit682a9f58ff9b22f31d9c8a39ef0588efb6dc8b6f (patch)
treeca2436d1c78bd021525b94ef7c25f67f04f31773 /usr.bin/systat/iostat.c
parent1759f3f7346ef1dda87d5f3dd4ac6e91032d3488 (diff)
back out latest changes which cause problems on alpha/sparc64 until
they are fixed
Diffstat (limited to 'usr.bin/systat/iostat.c')
-rw-r--r--usr.bin/systat/iostat.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/systat/iostat.c b/usr.bin/systat/iostat.c
index 1e97a5af2d6..532cbe70ca2 100644
--- a/usr.bin/systat/iostat.c
+++ b/usr.bin/systat/iostat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iostat.c,v 1.14 2001/11/23 22:20:06 deraadt Exp $ */
+/* $OpenBSD: iostat.c,v 1.15 2001/12/07 07:57:35 pvalchev 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.14 2001/11/23 22:20:06 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: iostat.c,v 1.15 2001/12/07 07:57:35 pvalchev Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -48,6 +48,7 @@ static char rcsid[] = "$OpenBSD: iostat.c,v 1.14 2001/11/23 22:20:06 deraadt Exp
#include <string.h>
#include <stdlib.h>
+#include <nlist.h>
#include <paths.h>
#include "systat.h"
#include "extern.h"
@@ -209,7 +210,7 @@ showiostat()
/*
* Interrupt CPU state not calculated yet.
- */
+ */
for (i = 0; i < CPUSTATES; i++)
stat1(row++, i);