fix up iterator in parse_proc_interrupts
There was a problem with the iterator loop to skip leading whitespace in parse_proc_interrupts - it skipped too far, this brings it back
This commit is contained in:
parent
cf4a1d8d4d
commit
5ebd1b24a9
|
@ -68,8 +68,9 @@ void parse_proc_interrupts(void)
|
|||
|
||||
/* lines with letters in front are special, like NMI count. Ignore */
|
||||
c = line;
|
||||
while (isblank(*(c++)))
|
||||
;
|
||||
while (isblank(*(c)))
|
||||
c++;
|
||||
|
||||
if (!(*c>='0' && *c<='9'))
|
||||
break;
|
||||
c = strchr(line, ':');
|
||||
|
|
Loading…
Reference in a new issue