From da6eeb0e4db2a5c1939480cd6fa59c4ba911d3b8 Mon Sep 17 00:00:00 2001 From: pgoyette Date: Mon, 1 Jun 2009 20:36:43 +0000 Subject: [PATCH] Replace a flag that was accidentally removed. --- sys/arch/x86/x86/ipmi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/arch/x86/x86/ipmi.c b/sys/arch/x86/x86/ipmi.c index a06f3aae094e..d4dc43938922 100644 --- a/sys/arch/x86/x86/ipmi.c +++ b/sys/arch/x86/x86/ipmi.c @@ -1,4 +1,4 @@ -/* $NetBSD: ipmi.c,v 1.34 2009/06/01 20:08:44 pgoyette Exp $ */ +/* $NetBSD: ipmi.c,v 1.35 2009/06/01 20:36:43 pgoyette Exp $ */ /* * Copyright (c) 2006 Manuel Bouyer. @@ -57,7 +57,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ipmi.c,v 1.34 2009/06/01 20:08:44 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ipmi.c,v 1.35 2009/06/01 20:36:43 pgoyette Exp $"); #include #include @@ -1781,6 +1781,7 @@ ipmi_thread(void *cookie) /* * Monitor threshold limits in the sensors. */ + sc->sc_sensor[i].flags |= ENVSYS_FMONCRITICAL; sc->sc_sensor[i].flags |= ENVSYS_FMONLIMITS; (void)strlcpy(sc->sc_sensor[i].desc, ipmi_s->i_envdesc, sizeof(sc->sc_sensor[i].desc));