aboutsummaryrefslogtreecommitdiff
path: root/block-qcow.c
diff options
context:
space:
mode:
Diffstat (limited to 'block-qcow.c')
-rw-r--r--block-qcow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block-qcow.c b/block-qcow.c
index 953f42c7b6..99c3832953 100644
--- a/block-qcow.c
+++ b/block-qcow.c
@@ -521,7 +521,7 @@ static int qcow_write(BlockDriverState *bs, int64_t sector_num,
return 0;
}
-static int qcow_close(BlockDriverState *bs)
+static void qcow_close(BlockDriverState *bs)
{
BDRVQcowState *s = bs->opaque;
qemu_free(s->l1_table);