summaryrefslogtreecommitdiff
path: root/block_int.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2012-02-03 16:24:53 -0200
committerLuiz Capitulino <lcapitulino@redhat.com>2012-02-22 17:23:05 -0200
commitf36f394952bd6703ca3ad8d649b41a9edd02db0c (patch)
tree1441e439eca979f33699ff87345d9d3ce0bbd0d7 /block_int.h
parent329c0a48a92664eb48b70993c0f2473b37aa7429 (diff)
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_int.h')
-rw-r--r--block_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/block_int.h b/block_int.h
index 7946cf66a1..04f4b836ca 100644
--- a/block_int.h
+++ b/block_int.h
@@ -197,7 +197,7 @@ struct BlockDriver {
/* removable device specific */
int (*bdrv_is_inserted)(BlockDriverState *bs);
int (*bdrv_media_changed)(BlockDriverState *bs);
- void (*bdrv_eject)(BlockDriverState *bs, int eject_flag);
+ void (*bdrv_eject)(BlockDriverState *bs, bool eject_flag);
void (*bdrv_lock_medium)(BlockDriverState *bs, bool locked);
/* to control generic scsi devices */