K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-12-31T15:56:03.000000Z K 7 svn:log V 283 Use devclass_get_count() instead of devclass_get_maxunit() to get the correct number of acpi_thermalX devices. Having this wrong caused the acpi_thermal thread to realloc the array of devices on each loop iteration. MFC after: 1 week PR: kern/118497 Submitted by: Pasi Parviainen END