aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-12-27 08:15:37 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-12-27 08:15:37 +0000
commit5647c79de5582ca6b9e47c315ac6eecf83036789 (patch)
tree611d915ff742e94d04a2853e76570a18f583b0cf /usr.bin
parentc78e2203d9863f0890fddc4239b4a8cc7df108c3 (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/systat/vmstat.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c
index fe31fba4a5b5..86fdbf6dfc90 100644
--- a/usr.bin/systat/vmstat.c
+++ b/usr.bin/systat/vmstat.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 1/12/94";
#endif
static const char rcsid[] =
- "$Id: vmstat.c,v 1.28 1998/10/05 04:04:27 ken Exp $";
+ "$Id: vmstat.c,v 1.29 1998/10/08 09:56:10 obrien Exp $";
#endif /* not lint */
/*
@@ -340,6 +340,10 @@ labelkre()
for (i = 0; i < num_devices && j < MAXDRIVES; i++)
if (dev_select[i].selected) {
char tmpstr[80];
+#ifndef WANT_FD
+ if (0==strcmp("fd", dev_select[i].device_name))
+ continue;
+#endif
sprintf(tmpstr, "%s%d", dev_select[i].device_name,
dev_select[i].unit_number);
mvprintw(DISKROW, DISKCOL + 5 + 6 * j,
@@ -492,6 +496,10 @@ showkre()
for (i = 0, c = 0; i < num_devices && c < MAXDRIVES; i++)
if (dev_select[i].selected) {
char tmpstr[80];
+#ifndef WANT_FD
+ if (0==strcmp("fd", dev_select[i].device_name))
+ continue;
+#endif
sprintf(tmpstr, "%s%d", dev_select[i].device_name,
dev_select[i].unit_number);
mvprintw(DISKROW, DISKCOL + 5 + 6 * c,