summaryrefslogtreecommitdiff
path: root/scripts/system
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2011-05-17 08:44:51 -0700
committerBob Gilligan <gilligan@vyatta.com>2011-05-17 08:44:51 -0700
commit5110537e316c91bac34b420e427c352ead950da6 (patch)
tree2361d8be9976ae5f2605a296ccc059f3622fb4cf /scripts/system
parent9f4762a77cdd0abadd40e59481c82a8c0e0e501f (diff)
downloadvyatta-cfg-system-5110537e316c91bac34b420e427c352ead950da6.tar.gz
vyatta-cfg-system-5110537e316c91bac34b420e427c352ead950da6.zip
Support more than 10 CPUs.
Diffstat (limited to 'scripts/system')
-rwxr-xr-xscripts/system/irq-affinity.pl2
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;
}
}