Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/systat Fix a check so that holding down the space ba...
details: https://anonhg.NetBSD.org/src/rev/2d15c4f7b550
branches: trunk
changeset: 487231:2d15c4f7b550
user: mycroft <mycroft%NetBSD.org@localhost>
date: Sun Jun 04 18:14:45 2000 +0000
description:
Fix a check so that holding down the space bar doesn't cause systat to lose.
diffstat:
usr.bin/systat/vmstat.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r cff92ee8a45a -r 2d15c4f7b550 usr.bin/systat/vmstat.c
--- a/usr.bin/systat/vmstat.c Sun Jun 04 18:13:06 2000 +0000
+++ b/usr.bin/systat/vmstat.c Sun Jun 04 18:14:45 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmstat.c,v 1.28 2000/06/04 18:10:40 mycroft Exp $ */
+/* $NetBSD: vmstat.c,v 1.29 2000/06/04 18:14:45 mycroft Exp $ */
/*-
* Copyright (c) 1983, 1989, 1992, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 1/12/94";
#endif
-__RCSID("$NetBSD: vmstat.c,v 1.28 2000/06/04 18:10:40 mycroft Exp $");
+__RCSID("$NetBSD: vmstat.c,v 1.29 2000/06/04 18:14:45 mycroft Exp $");
#endif /* not lint */
/*
@@ -356,7 +356,7 @@
X(time);
etime += s.time[i];
}
- if (etime < 5.0) { /* < 5 ticks - ignore this trash */
+ if (etime < 1.0) { /* < 5 ticks - ignore this trash */
if (failcnt++ >= MAXFAIL) {
clear();
mvprintw(2, 10, "The alternate system clock has died!");
Home |
Main Index |
Thread Index |
Old Index