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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"