mirror of https://github.com/xemu-project/xemu.git
block: fix warning introduced in efcc7a23
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
a7aae221b0
commit
04120e3bb0
|
@ -166,7 +166,7 @@ static void coroutine_fn stream_run(void *opaque)
|
||||||
BlockDriverState *base = s->base;
|
BlockDriverState *base = s->base;
|
||||||
int64_t sector_num, end;
|
int64_t sector_num, end;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
int n;
|
int n = 0;
|
||||||
void *buf;
|
void *buf;
|
||||||
|
|
||||||
s->common.len = bdrv_getlength(bs);
|
s->common.len = bdrv_getlength(bs);
|
||||||
|
|
Loading…
Reference in New Issue