HomeFreeBSD

Fix "top -P" (`&' mistyped as `&&' and a botched logic).

Description

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

Details

Provenance
Ruslan Ermilov <ru@FreeBSD.org>Authored on Apr 10 2008, 4:17 PM
Parents
rGf4d2c7f13ee6: Correct pmap_copy()'s method for extracting the physical address of a
Branches
Unknown
Tags
Unknown

Event Timeline