Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sysmon If no limits are exceeded, make sure we set s...
details: https://anonhg.NetBSD.org/src/rev/082f9d08a2e3
branches: trunk
changeset: 750921:082f9d08a2e3
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Mon Jan 18 21:48:15 2010 +0000
description:
If no limits are exceeded, make sure we set state to SVALID
diffstat:
sys/dev/sysmon/sysmon_envsys_events.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r ddb717d49c88 -r 082f9d08a2e3 sys/dev/sysmon/sysmon_envsys_events.c
--- a/sys/dev/sysmon/sysmon_envsys_events.c Mon Jan 18 20:57:13 2010 +0000
+++ b/sys/dev/sysmon/sysmon_envsys_events.c Mon Jan 18 21:48:15 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysmon_envsys_events.c,v 1.74 2010/01/02 19:02:39 pgoyette Exp $ */
+/* $NetBSD: sysmon_envsys_events.c,v 1.75 2010/01/18 21:48:15 pgoyette Exp $ */
/*-
* Copyright (c) 2007, 2008 Juan Romero Pardines.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys_events.c,v 1.74 2010/01/02 19:02:39 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys_events.c,v 1.75 2010/01/18 21:48:15 pgoyette Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -687,6 +687,8 @@
edata->state = ENVSYS_SCRITOVER;
else if __EXCEED_LIM(PROP_WARNMAX, sel_warnmax, >)
edata->state = ENVSYS_SWARNOVER;
+ else
+ edata->state = ENVSYS_SVALID;
}
#undef __EXCEED_LIM
Home |
Main Index |
Thread Index |
Old Index