aboutsummaryrefslogtreecommitdiff
path: root/block-cow.c
diff options
context:
space:
mode:
Diffstat (limited to 'block-cow.c')
-rw-r--r--block-cow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block-cow.c b/block-cow.c
index affeefa3f0..81bd334cc1 100644
--- a/block-cow.c
+++ b/block-cow.c
@@ -202,7 +202,7 @@ static int cow_write(BlockDriverState *bs, int64_t sector_num,
return 0;
}
-static int cow_close(BlockDriverState *bs)
+static void cow_close(BlockDriverState *bs)
{
BDRVCowState *s = bs->opaque;
munmap(s->cow_bitmap_addr, s->cow_bitmap_size);