diff options
author | Jens Axboe <axboe@kernel.dk> | 2012-02-01 13:17:57 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-02-01 13:17:57 +0100 |
commit | f6d38abde41a7b18808dcdab393f05d6300d16c3 (patch) | |
tree | cb68e66c73f3ded1f73d966eb90da322ee4a91ab /btt/trace_queue.c | |
parent | d324757e0f2cfc87ddcc2fea7e59d81cc8661f1c (diff) | |
download | blktrace-f6d38abde41a7b18808dcdab393f05d6300d16c3.tar.gz blktrace-f6d38abde41a7b18808dcdab393f05d6300d16c3.tar.bz2 |
Fix compiler warnings
One was a real bug, assigned i_time twice instead of c_time (which was
left unitialized).
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'btt/trace_queue.c')
-rw-r--r-- | btt/trace_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/btt/trace_queue.c b/btt/trace_queue.c index 82c5760..8edcd90 100644 --- a/btt/trace_queue.c +++ b/btt/trace_queue.c @@ -33,7 +33,7 @@ static void handle_queue(struct io *q_iop) update_lq(&last_q, &all_avgs.q2q, q_iop->t.time); } - q_iop->i_time = q_iop->g_time = q_iop->i_time = q_iop->m_time = + q_iop->i_time = q_iop->g_time = q_iop->c_time = q_iop->m_time = q_iop->d_time = (__u64)-1; q_iop->dip->n_qs++; |