diff options
author | jhb <jhb@FreeBSD.org> | 2007-12-31 15:56:03 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2007-12-31 15:56:03 +0000 |
commit | f1b041f1e85fe8106bf879724f690dc5ab6065d6 (patch) | |
tree | fff4662d2ef6c95e51cf1f0b8ca4cabad6e3c176 /games/fortune | |
parent | 6bd8ae5c1ce20d5c045fbcda88aeaecec7aa703b (diff) | |
download | FreeBSD-src-f1b041f1e85fe8106bf879724f690dc5ab6065d6.zip FreeBSD-src-f1b041f1e85fe8106bf879724f690dc5ab6065d6.tar.gz |
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
Diffstat (limited to 'games/fortune')
0 files changed, 0 insertions, 0 deletions