=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/top/top.c,v retrieving revision 1.92 retrieving revision 1.93 diff -c -r1.92 -r1.93 *** src/usr.bin/top/top.c 2018/09/22 16:50:35 1.92 --- src/usr.bin/top/top.c 2018/09/26 17:23:13 1.93 *************** *** 1,4 **** ! /* $OpenBSD: top.c,v 1.92 2018/09/22 16:50:35 millert Exp $ */ /* * Top users/processes display for Unix --- 1,4 ---- ! /* $OpenBSD: top.c,v 1.93 2018/09/26 17:23:13 cheloha Exp $ */ /* * Top users/processes display for Unix *************** *** 251,257 **** } } ! i = getncpu(); if (i == -1) err(1, NULL); --- 251,257 ---- } } ! i = getncpuonline(); if (i == -1) err(1, NULL); *************** *** 467,473 **** ps.threads); /* display the cpu state percentage breakdown */ ! i_cpustates(system_info.cpustates); /* display memory stats */ i_memory(system_info.memory); --- 467,473 ---- ps.threads); /* display the cpu state percentage breakdown */ ! i_cpustates(system_info.cpustates, system_info.cpuonline); /* display memory stats */ i_memory(system_info.memory);