summaryrefslogtreecommitdiffstats
path: root/usr.bin/vmstat/vmstat.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1994-05-29 06:19:34 +0000
committerrgrimes <rgrimes@FreeBSD.org>1994-05-29 06:19:34 +0000
commit573f71ed7a25140c9ee0190699ce5812e856da96 (patch)
tree0664d8765e5ba94fb81e20abca191c56f3912649 /usr.bin/vmstat/vmstat.c
parentda0b50cf1513536d6463b81087fe1414c04589a8 (diff)
downloadFreeBSD-src-573f71ed7a25140c9ee0190699ce5812e856da96.zip
FreeBSD-src-573f71ed7a25140c9ee0190699ce5812e856da96.tar.gz
Add read_names support for i386, based on my original work from FreeBSD
and cleaned up slightly.
Diffstat (limited to 'usr.bin/vmstat/vmstat.c')
-rw-r--r--usr.bin/vmstat/vmstat.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index 0f3f4ce..e1a8da1 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -107,7 +107,7 @@ struct nlist namelist[] = {
{ "_pgintime" },
#define X_XSTATS 18
{ "_xstats" },
-#define X_END 18
+#define X_END 19
#else
#define X_END 14
#endif
@@ -115,6 +115,10 @@ struct nlist namelist[] = {
#define X_HPDINIT (X_END)
{ "_hp_dinit" },
#endif
+#if defined(i386)
+#define X_ISA_BIO (X_END)
+ { "_isa_devtab_bio" },
+#endif
#ifdef mips
#define X_SCSI_DINIT (X_END)
{ "_scsi_dinit" },
OpenPOWER on IntegriCloud