Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 556480
Collapse All | Expand All

(-)src/linux.c.orig (+3 lines)
Lines 738-743 Link Here
738
			} else {
738
			} else {
739
				idx = 0;
739
				idx = 0;
740
			}
740
			}
741
			if (idx >= info.cpu_count) {
742
				continue;
743
			}
741
			sscanf(buf, stat_template, &(cpu[idx].cpu_user),
744
			sscanf(buf, stat_template, &(cpu[idx].cpu_user),
742
				&(cpu[idx].cpu_nice), &(cpu[idx].cpu_system),
745
				&(cpu[idx].cpu_nice), &(cpu[idx].cpu_system),
743
				&(cpu[idx].cpu_idle), &(cpu[idx].cpu_iowait),
746
				&(cpu[idx].cpu_idle), &(cpu[idx].cpu_iowait),

Return to bug 556480