diff options
| author | xtraeme <xtraeme@NetBSD.org> | 2007-03-26 07:27:36 +0000 |
|---|---|---|
| committer | xtraeme <xtraeme@NetBSD.org> | 2007-03-26 07:27:36 +0000 |
| commit | 6fac3c8e51df16d4656f486ea3ff8a3b5d9aad46 (patch) | |
| tree | 0a05a2e70df5d0f870878ce3a14291ae04e4515e /sys/dev/acpi | |
| parent | 5630b5969e8173a3a2fec2bbd5bcb108eea8b82f (diff) | |
Fix a typo getting the fan values, it was using incorrect uid.
Diffstat (limited to 'sys/dev/acpi')
| -rw-r--r-- | sys/dev/acpi/aiboost.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpi/aiboost.c b/sys/dev/acpi/aiboost.c index bfc9a6b10da..97daf075f61 100644 --- a/sys/dev/acpi/aiboost.c +++ b/sys/dev/acpi/aiboost.c @@ -1,4 +1,4 @@ -/* $NetBSD: aiboost.c,v 1.3 2007/03/26 04:22:28 xtraeme Exp $ */ +/* $NetBSD: aiboost.c,v 1.4 2007/03/26 07:27:36 xtraeme Exp $ */ /*- * Copyright (c) 2007 Juan Romero Pardines @@ -28,7 +28,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: aiboost.c,v 1.3 2007/03/26 04:22:28 xtraeme Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aiboost.c,v 1.4 2007/03/26 07:27:36 xtraeme Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -251,7 +251,7 @@ aiboost_refresh_sensors(struct aiboost_softc *sc) /* Fan */ for (i = 0; i < sc->sc_aifan->num; i++, j++) { - val = aiboost_get_value(h, "RFAN", sc->sc_aitemp->elem[i].id); + val = aiboost_get_value(h, "RFAN", sc->sc_aifan->elem[i].id); sc->sc_data[j].cur.data_us = val ; DPRINTF(("%s: fan[%d] val=%d j=%d\n", __func__, i, val, j)); } |
