Commit
8ac5760 didn't cover all the cases properly (interrupts whose
name has between 11 and 13 characters).
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
/* Width is IRQ name + 2 for the trailing "/s" */
colwidth[j] = strlen(p0->irq_name) + 2;
/*
- * Normal space for printing a number is 14 chars
- * (space + 10 digits + period + mantissa).
+ * Normal space for printing a number is 11 chars
+ * (space + 10 digits including the period).
*/
- if (colwidth[j] < 14) {
+ if (colwidth[j] < 10) {
colwidth[j] = 10;
}
}