projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f11c1a
)
[PATCH] bug in btt/output.c
author
Martin Peschke
<mp3@de.ibm.com>
Wed, 6 Sep 2006 14:54:45 +0000
(16:54 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 6 Sep 2006 14:54:45 +0000
(16:54 +0200)
This patch fixes a copy'n paste bug.
btt/output.c
patch
|
blob
|
blame
|
history
diff --git
a/btt/output.c
b/btt/output.c
index 9241bdaa6ccb11903d3bf37fcddcbf5942124b6e..8c84bc9f4f3048573bdbbbced0eee8dab76e4520 100644
(file)
--- a/
btt/output.c
+++ b/
btt/output.c
@@
-226,7
+226,7
@@
char *d2c_v_q2C(struct d_info *dip, char *s)
{
double q2c;
- if (dip->avgs.
i2d
.n == 0) return " ";
+ if (dip->avgs.
d2c
.n == 0) return " ";
q2c = dip->avgs.q2i.avg + dip->avgs.i2d.avg + dip->avgs.d2c.avg;
sprintf(s, "%5.1lf%%", AVG(dip->avgs.d2c.avg, q2c));