summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorderaadt <deraadt@NetBSD.org>1994-05-18 23:11:14 +0000
committerderaadt <deraadt@NetBSD.org>1994-05-18 23:11:14 +0000
commiteee9ec00bb27dae2b66edbe8cb8debfd4ed1b520 (patch)
tree0e97fbae27305764890d289220b056f91852daca
parent450d60fe9d281d6ce138e9004d0820eb500444f9 (diff)
cannot read sparc disk names
-rw-r--r--usr.bin/vmstat/names.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/vmstat/names.c b/usr.bin/vmstat/names.c
index 17b4b42f017..2371a6f8155 100644
--- a/usr.bin/vmstat/names.c
+++ b/usr.bin/vmstat/names.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)names.c 8.1 (Berkeley) 6/6/93
- * $Id: names.c,v 1.9 1994/05/11 07:35:56 cgd Exp $
+ * $Id: names.c,v 1.10 1994/05/18 23:11:14 deraadt Exp $
*/
#if !defined(hp300) && !defined(tahoe) && !defined(vax) && \
@@ -47,6 +47,14 @@ read_names()
}
#endif
+#if defined(sparc)
+int
+read_names()
+{
+ return 1;
+}
+#endif
+
#if defined(hp300) || defined(luna68k)
#if defined(hp300)
#include <hp/dev/device.h>