summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorpgoyette <pgoyette@NetBSD.org>2008-11-09 13:54:06 +0000
committerpgoyette <pgoyette@NetBSD.org>2008-11-09 13:54:06 +0000
commit7355d18b975bd4d2dd1742778face5218dc0121d (patch)
tree136508e0f2123376add4f092e20731f9052e265c /sys/dev
parentdaedaa68a86ac92005ddb5a9f7d40c2f3840ef40 (diff)
Leave the task of displaying sensor states to envsys_sysmon() unless we
are in debug mode.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpi/acpi_tz.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/acpi/acpi_tz.c b/sys/dev/acpi/acpi_tz.c
index 88aec215e32..6a6159a62e2 100644
--- a/sys/dev/acpi/acpi_tz.c
+++ b/sys/dev/acpi/acpi_tz.c
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_tz.c,v 1.38 2008/11/09 03:36:04 pgoyette Exp $ */
+/* $NetBSD: acpi_tz.c,v 1.39 2008/11/09 13:54:06 pgoyette Exp $ */
/*
* Copyright (c) 2003 Jared D. McNeill <jmcneill@invisible.ca>
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_tz.c,v 1.38 2008/11/09 03:36:04 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_tz.c,v 1.39 2008/11/09 13:54:06 pgoyette Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -280,12 +280,12 @@ acpitz_get_status(void *opaque)
sc->sc_flags = flags;
if (changed & ATZ_F_CRITICAL) {
sc->sc_sensor.state = ENVSYS_SCRITOVER;
- aprint_normal_dev(dv,
+ aprint_debug_dev(dv,
"zone went critical at temp %sC\n",
acpitz_celcius_string(tmp));
} else if (changed & ATZ_F_HOT) {
sc->sc_sensor.state = ENVSYS_SWARNOVER;
- aprint_normal_dev(dv,
+ aprint_debug_dev(dv,
"zone went hot at temp %sC\n",
acpitz_celcius_string(tmp));
}