rpaulo 2008-05-11 23:14:07 UTC
FreeBSD src repository
Modified files:
sys/dev/k8temp k8temp.c
Log:
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
Revision Changes Path
1.3 +2 -2 src/sys/dev/k8temp/k8temp.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"