diff options
| author | Luiz Capitulino <lcapitulino@redhat.com> | 2012-02-03 16:24:53 -0200 |
|---|---|---|
| committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-02-22 17:23:05 -0200 |
| commit | f36f394952bd6703ca3ad8d649b41a9edd02db0c (patch) | |
| tree | 1441e439eca979f33699ff87345d9d3ce0bbd0d7 /block.c | |
| parent | 329c0a48a92664eb48b70993c0f2473b37aa7429 (diff) | |
| download | focaccia-qemu-f36f394952bd6703ca3ad8d649b41a9edd02db0c.tar.gz focaccia-qemu-f36f394952bd6703ca3ad8d649b41a9edd02db0c.zip | |
block: bdrv_eject(): Make eject_flag a real bool
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Acked-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block.c')
| -rw-r--r-- | block.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block.c b/block.c index 8d4cfea797..bfb0deca49 100644 --- a/block.c +++ b/block.c @@ -3609,7 +3609,7 @@ int bdrv_media_changed(BlockDriverState *bs) /** * If eject_flag is TRUE, eject the media. Otherwise, close the tray */ -void bdrv_eject(BlockDriverState *bs, int eject_flag) +void bdrv_eject(BlockDriverState *bs, bool eject_flag) { BlockDriver *drv = bs->drv; |