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

Rui Paulo rpaulo at FreeBSD.org
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 
  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


More information about the cvs-src mailing list