Module Name:    src
Committed By:   pgoyette
Date:           Mon Jun  1 20:36:43 UTC 2009

Modified Files:
        src/sys/arch/x86/x86: ipmi.c

Log Message:
Replace a flag that was accidentally removed.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/x86/x86/ipmi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x86/x86/ipmi.c
diff -u src/sys/arch/x86/x86/ipmi.c:1.34 src/sys/arch/x86/x86/ipmi.c:1.35
--- src/sys/arch/x86/x86/ipmi.c:1.34	Mon Jun  1 20:08:44 2009
+++ src/sys/arch/x86/x86/ipmi.c	Mon Jun  1 20:36:43 2009
@@ -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 <sys/cdefs.h>
-__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 <sys/types.h>
 #include <sys/param.h>
@@ -1781,6 +1781,7 @@
 		/*
 		 * 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));

Reply via email to