diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2011-05-17 08:44:51 -0700 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2011-05-17 08:44:51 -0700 |
commit | 5110537e316c91bac34b420e427c352ead950da6 (patch) | |
tree | 2361d8be9976ae5f2605a296ccc059f3622fb4cf /scripts/system/irq-affinity.pl | |
parent | 9f4762a77cdd0abadd40e59481c82a8c0e0e501f (diff) | |
download | vyatta-cfg-system-5110537e316c91bac34b420e427c352ead950da6.tar.gz vyatta-cfg-system-5110537e316c91bac34b420e427c352ead950da6.zip |
Support more than 10 CPUs.
Diffstat (limited to 'scripts/system/irq-affinity.pl')
-rwxr-xr-x | scripts/system/irq-affinity.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/system/irq-affinity.pl b/scripts/system/irq-affinity.pl index 409eb8f6..82258526 100755 --- a/scripts/system/irq-affinity.pl +++ b/scripts/system/irq-affinity.pl @@ -83,7 +83,7 @@ sub cpuinfo { if (/^cpu cores\s+:\s(\d+)$/) { $core = $1; } - elsif (/^processor\s+:\s+(\d)$/) { + elsif (/^processor\s+:\s+(\d+)$/) { $cpu = $1; } } |