[PATCH] fix a divide by zero error
authorMing Zhang <blackmagic02881@gmail.com>
Thu, 21 Dec 2006 07:39:55 +0000 (08:39 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 21 Dec 2006 07:39:55 +0000 (08:39 +0100)
commit8a82e321006f3a44d766a53d34f60a472375b8fc
treeaf15edb3e3bd71e1fc04e357c573982da2619eef
parent67076cbc20112afd833a2d04cd8f1c8d2fbcfaeb
[PATCH] fix a divide by zero error

When pdi->events and pdi->seq_skips are both 0, current code will do
0/0.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
blkparse.c