Date: Thu, 10 Apr 2008 16:17:54 +0000 (UTC) From: Ruslan Ermilov <ru@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/top machine.c Message-ID: <200804101617.m3AGHshI094894@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804101617.m3AGHshI094894>