freebsd-skq/sys/dev/k8temp
Rui Paulo 563f8fc088 Don't use libkern's max() function as that's for unsigned numbers only.
Instead use the worldwide known MAX() function.
This should fix problems with negative values showing up on
dev.cpu.%d.temperature.
This is slightly different from the fix in the PR.

Submitted by:	KOIE Hidetaka <hide at koie.org>
PR:		123542
2008-05-11 23:14:07 +00:00
..
k8temp.c Don't use libkern's max() function as that's for unsigned numbers only. 2008-05-11 23:14:07 +00:00