Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
procps
procps-3.2.8-manycpus.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File procps-3.2.8-manycpus.diff of Package procps
--- top.c +++ top.c 2009-05-11 11:14:53.402401350 +0200 @@ -2489,21 +2489,21 @@ static void do_key (unsigned c) static const char err_num_cpus[] = "\aSorry, terminal is not big enough"; #ifdef WARN_NOT_SMP // standardized 'smp' errors - static const char err_smp[] = "\aSorry, only 1 cpu detected"; + static const char err_smp[] = "\aSorry, only one cpu detected"; #endif switch (c) { case '1': if (Cpu_tot+7 > Screen_rows && CHKw(Curwin, View_CPUSUM)) { show_msg(err_num_cpus); - break; - } + } else { #ifdef WARN_NOT_SMP if (Cpu_tot > 1) TOGw(Curwin, View_CPUSUM); else show_msg(err_smp); #else TOGw(Curwin, View_CPUSUM); #endif + } break; case 'a':
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor