diff options
author | wollman <wollman@FreeBSD.org> | 1994-10-16 04:04:56 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-10-16 04:04:56 +0000 |
commit | efe252383a18309d36b9097092f5877d027bcb4d (patch) | |
tree | 4295e08c6a9b4de8f8e591e4049dcdf0b7f08a6d /usr.bin/systat | |
parent | c4ebe36a0b73d69bc66940de52548d266402051c (diff) | |
download | FreeBSD-src-efe252383a18309d36b9097092f5877d027bcb4d.zip FreeBSD-src-efe252383a18309d36b9097092f5877d027bcb4d.tar.gz |
New way of getting disk drive names.
Diffstat (limited to 'usr.bin/systat')
-rw-r--r-- | usr.bin/systat/disks.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/systat/disks.c b/usr.bin/systat/disks.c index ebe9502..a4153e9 100644 --- a/usr.bin/systat/disks.c +++ b/usr.bin/systat/disks.c @@ -38,6 +38,7 @@ static char sccsid[] = "@(#)disks.c 8.1 (Berkeley) 6/6/93"; #include <sys/param.h> #include <sys/types.h> #include <sys/buf.h> +#include <sys/dkstat.h> #include <nlist.h> #include <ctype.h> @@ -60,8 +61,8 @@ static struct nlist namelist[] = { { "_hp_dinit" }, #endif #if defined(i386) -#define X_ISA_BIO (X_DK_WPMS+1) - { "_isa_devtab_bio" }, +#define X_DK_NAMES (X_DK_WPMS+1) + { "_dk_names" }, #endif #ifdef mips #define X_SCSI_DINIT (X_DK_WPMS+1) |