Replace a flag that was accidentally removed.

This commit is contained in:
pgoyette 2009-06-01 20:36:43 +00:00
parent 5a84f3060e
commit da6eeb0e4d
1 changed files with 3 additions and 2 deletions

View File

@ -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 @@ 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));