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:
Neil Horman 2011-10-11 11:54:48 -04:00
parent cf4a1d8d4d
commit 5ebd1b24a9

View file

@ -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, ':');