diff --git a/block.c b/block.c index e35c9a65aa..5f3f780fbe 100644 --- a/block.c +++ b/block.c @@ -1101,8 +1101,7 @@ void bdrv_info(void) } term_printf(" ro=%d", bs->read_only); term_printf(" drv=%s", bs->drv->format_name); - if (bs->encrypted) - term_printf(" encrypted"); + term_printf(" encrypted=%d", bdrv_is_encrypted(bs)); } else { term_printf(" [not inserted]"); }