summaryrefslogtreecommitdiff
path: root/scripts/system/irq-affinity.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/system/irq-affinity.pl')
-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;
}
}