From 6fac3c8e51df16d4656f486ea3ff8a3b5d9aad46 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Mon, 26 Mar 2007 07:27:36 +0000 Subject: [PATCH] Fix a typo getting the fan values, it was using incorrect uid. --- sys/dev/acpi/aiboost.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/acpi/aiboost.c b/sys/dev/acpi/aiboost.c index bfc9a6b10daf..97daf075f61b 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 -__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 #include @@ -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)); }