From f36f394952bd6703ca3ad8d649b41a9edd02db0c Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Fri, 3 Feb 2012 16:24:53 -0200 Subject: block: bdrv_eject(): Make eject_flag a real bool Signed-off-by: Luiz Capitulino Reviewed-by: Markus Armbruster Acked-by: Kevin Wolf --- block_int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'block_int.h') 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 */ -- cgit 1.4.1