top.c: fix for unsigned underflow
authorPhil Sutter <phil@nwl.cc>
Tue, 15 Sep 2009 20:59:37 +0000 (22:59 +0200)
committerPhil Sutter <phil@nwl.cc>
Tue, 15 Sep 2009 21:16:39 +0000 (23:16 +0200)
commitfea72bd8f8b8f1fcc0010e2c207d5cbaa8aecf78
treefdbed58b7a12b7c3e92e202b7abffac82aba815e
parent7fa59c6c90085803bacb21eabfa6f3e8e4cfe9a7
top.c: fix for unsigned underflow

Yes, I also thought these are monotonic counters. But it seems like they
are not, at least sometimes the value decreases by 1 leading to a very
very high cpu usage percentage being printed.
src/top.c