aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2007-12-31 15:56:03 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2007-12-31 15:56:03 +0000
commitc903c5fbaec3a8bacb8340a5c4e76b6941dbc6fe (patch)
treefff4662d2ef6c95e51cf1f0b8ca4cabad6e3c176 /sys/dev/acpica
parent89dbcee8ce493d2df71c9708bda563d1887e6ddd (diff)
Notes
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_thermal.c b/sys/dev/acpica/acpi_thermal.c
index 045d2ba197c0..383de56310d7 100644
--- a/sys/dev/acpica/acpi_thermal.c
+++ b/sys/dev/acpica/acpi_thermal.c
@@ -914,7 +914,7 @@ acpi_tz_thread(void *arg)
for (;;) {
/* If the number of devices has changed, re-evaluate. */
- if (devclass_get_maxunit(acpi_tz_devclass) != devcount) {
+ if (devclass_get_count(acpi_tz_devclass) != devcount) {
if (devs != NULL) {
free(devs, M_TEMP);
free(sc, M_TEMP);