diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2007-12-31 15:56:03 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2007-12-31 15:56:03 +0000 |
| commit | c903c5fbaec3a8bacb8340a5c4e76b6941dbc6fe (patch) | |
| tree | fff4662d2ef6c95e51cf1f0b8ca4cabad6e3c176 /sys/dev/acpica | |
| parent | 89dbcee8ce493d2df71c9708bda563d1887e6ddd (diff) | |
Notes
Diffstat (limited to 'sys/dev/acpica')
| -rw-r--r-- | sys/dev/acpica/acpi_thermal.c | 2 |
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); |
