cvs commit: src/usr.bin/top machine.c

Ruslan Ermilov ru at FreeBSD.org
Thu Apr 10 16:17:56 UTC 2008


ru          2008-04-10 16:17:54 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/top          machine.c 
  Log:
  Fix "top -P" (`&' mistyped as `&&' and a botched logic).
  The bug was unnoticed on non-i386 because mp_maxid is
  initialized differently, kern.cp_times doesn't print
  zeroes for non-existing CPUs, so no "writing outside of
  array bounds" happens.
  
  MFC after:      3 days
  
  Revision  Changes    Path
  1.87      +3 -2      src/usr.bin/top/machine.c


More information about the cvs-src mailing list