diff options
-rw-r--r-- | usr.bin/top/machine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c index 5002498..96bc79d 100644 --- a/usr.bin/top/machine.c +++ b/usr.bin/top/machine.c @@ -209,7 +209,7 @@ struct statics *statics; modelen = sizeof(smpmode); if ((sysctlbyname("machdep.smp_active", &smpmode, &modelen, NULL, 0) < 0 && - sysctlbyname("smp.smp_active", &smpmode, &modelen, NULL, 0) < 0) || + sysctlbyname("kern.smp.active", &smpmode, &modelen, NULL, 0) < 0) || modelen != sizeof(smpmode)) smpmode = 0; |