]> git.ipfire.org Git - thirdparty/systemd.git/commit
bootchart: fix negative 'timeleft' condition
authorDaniel Mack <daniel@zonque.org>
Tue, 21 Jul 2015 13:30:47 +0000 (15:30 +0200)
committerDaniel Mack <daniel@zonque.org>
Tue, 21 Jul 2015 16:37:06 +0000 (18:37 +0200)
commit0a327854f8613b7a52a80c1f3f8fc3100fb9df58
tree636a532c16276594fa6d9129b7ee25911e1528d2
parent81fc63daa49e2a902cce62ba8fcc7783f0ba1908
bootchart: fix negative 'timeleft' condition

Fix the overrun case in sample acquistion and negative number calculations.

Reported by Stefan Sauer.

Fixes #642
src/bootchart/bootchart.c