aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/systat
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-01-09 06:03:54 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-01-09 06:03:54 +0000
commit154a13b5f8a7051367aedcaf88371c8c8a22963c (patch)
tree7efe7bb2fa80581c7b5a2e9470cabb2101ea5981 /usr.bin/systat
parentbc6b8d123973b7ef271590d77da20b8ff4dfcee5 (diff)
downloadsrc-154a13b5f8a7051367aedcaf88371c8c8a22963c.tar.gz
src-154a13b5f8a7051367aedcaf88371c8c8a22963c.zip
revert to rev 1.29. (floppy drives will be gotten rid of another way)
Notes
Notes: svn path=/head/; revision=42425
Diffstat (limited to 'usr.bin/systat')
-rw-r--r--usr.bin/systat/vmstat.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c
index bf90fda44129..bfd8e816684e 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.30 1998/12/27 08:15:37 obrien Exp $";
+ "$Id: vmstat.c,v 1.29 1998/10/08 09:56:10 obrien Exp $";
#endif /* not lint */
/*
@@ -93,7 +93,6 @@ struct statinfo cur, last, run;
#define oldnchtotal s1.nchstats
static enum state { BOOT, TIME, RUN } state = TIME;
-static int want_fd = 0;
static void allocinfo __P((struct Info *));
static void copyinfo __P((struct Info *, struct Info *));
@@ -341,8 +340,6 @@ labelkre()
for (i = 0; i < num_devices && j < MAXDRIVES; i++)
if (dev_select[i].selected) {
char tmpstr[80];
- if (!want_fd && 0==strcmp("fd", dev_select[i].device_name))
- continue;
sprintf(tmpstr, "%s%d", dev_select[i].device_name,
dev_select[i].unit_number);
mvprintw(DISKROW, DISKCOL + 5 + 6 * j,
@@ -495,8 +492,6 @@ showkre()
for (i = 0, c = 0; i < num_devices && c < MAXDRIVES; i++)
if (dev_select[i].selected) {
char tmpstr[80];
- if (!want_fd && 0==strcmp("fd", dev_select[i].device_name))
- continue;
sprintf(tmpstr, "%s%d", dev_select[i].device_name,
dev_select[i].unit_number);
mvprintw(DISKROW, DISKCOL + 5 + 6 * c,
@@ -561,10 +556,6 @@ cmdkre(cmd, args)
state = TIME;
return (1);
}
- if (prefix(cmd, "want_fd")) {
- want_fd = !want_fd;
- return (1);
- }
if (prefix(cmd, "zero")) {
retval = 1;
if (state == RUN) {