aboutsummaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
Diffstat (limited to 'block.c')
-rw-r--r--block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block.c b/block.c
index 8dea3c9320..389617cb4b 100644
--- a/block.c
+++ b/block.c
@@ -554,7 +554,7 @@ static int raw_write(BlockDriverState *bs, int64_t sector_num,
return 0;
}
-static int raw_close(BlockDriverState *bs)
+static void raw_close(BlockDriverState *bs)
{
BDRVRawState *s = bs->opaque;
close(s->fd);