From 057ec0d9b6d4c5c8c37c01b8bf61b4a145673219 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 8 Nov 2003 08:35:47 +0000 Subject: (getCPUs) enumerate cpus from 1 instead of 0 (part of #4704) --- perl-install/detect_devices.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install') diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index a864a1db6..d7f908a8e 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -368,6 +368,7 @@ sub getCPUs() { $cpu = {}; } $cpu->{$1} = $2 if /^([^\t]+).*:\s(.*)$/; + $cpu->{processor}++ if $1 eq "processor"; } push @cpus, $cpu; @cpus; -- cgit v1.2.1