cvs commit: src/sys/dev/k8temp k8temp.c

Rui Paulo rpaulo at
Sun May 11 23:14:07 UTC 2008

rpaulo      2008-05-11 23:14:07 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/k8temp       k8temp.c 
  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
  This is slightly different from the fix in the PR.
  Submitted by:   KOIE Hidetaka <hide at>
  PR:             123542
  Revision  Changes    Path
  1.3       +2 -2      src/sys/dev/k8temp/k8temp.c

More information about the cvs-src mailing list