summaryrefslogtreecommitdiff
path: root/block/raw.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/raw.c')
-rw-r--r--block/raw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/raw.c b/block/raw.c
index 1398a9c221..cb6203eeca 100644
--- a/block/raw.c
+++ b/block/raw.c
@@ -75,9 +75,9 @@ static int raw_is_inserted(BlockDriverState *bs)
return bdrv_is_inserted(bs->file);
}
-static int raw_eject(BlockDriverState *bs, int eject_flag)
+static void raw_eject(BlockDriverState *bs, int eject_flag)
{
- return bdrv_eject(bs->file, eject_flag);
+ bdrv_eject(bs->file, eject_flag);
}
static void raw_set_locked(BlockDriverState *bs, int locked)