cvs commit: src/sys/kern

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Nov 10 00:29:56 PST 2004


dillon      2004/11/10 00:27:54 PST

DragonFly src repository

  Modified files:
    sys/kern             kern_synch.c 
  Log:
  The min() and max() macros in sys/libkern.h are typed u_int and thus do not
  do the right things when handed negative numbers.  Use MIN and MAX instead.
  
  This was causing renice -N processes to wrap back around to the worst priority
  instead of MIN()'ing to the best priority.
  
  Revision  Changes    Path
  1.38      +2 -2      src/sys/kern/kern_synch.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_synch.c.diff?r1=1.37&r2=1.38&f=u





More information about the Commits mailing list