Date: Sun, 11 May 2008 23:14:07 +0000 (UTC) From: Rui Paulo <rpaulo@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/k8temp k8temp.c Message-ID: <200805112314.m4BNE7Tx027389@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805112314.m4BNE7Tx027389>