projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3c865f3
)
client: fix missing init of 'i'
author
Jens Axboe
<axboe@fb.com>
Tue, 1 Jul 2014 22:07:59 +0000
(16:07 -0600)
committer
Jens Axboe
<axboe@fb.com>
Tue, 1 Jul 2014 22:07:59 +0000
(16:07 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
client.c
patch
|
blob
|
blame
|
history
diff --git
a/client.c
b/client.c
index 6e7ed6d58441819d0df6359876d880a9a17d3b1e..e70a27d95fc3154c01bdbbb9fb0fcc366384ecee 100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-1232,7
+1232,7
@@
static struct cmd_iolog_pdu *convert_iolog(struct fio_net_cmd *cmd)
ret->compressed = le32_to_cpu(ret->compressed);
ret->log_offset = le32_to_cpu(ret->log_offset);
- samples = &ret->samples[
i
];
+ samples = &ret->samples[
0
];
for (i = 0; i < ret->nr_samples; i++) {
struct io_sample *s;