diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-12-22 14:11:32 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-12-22 14:11:32 +0000 |
commit | fef3074347c02ed0c2fd9d1918402c966b909466 (patch) | |
tree | 1ca2beb79f94e3cc852dde85e49a4d5e49d7b430 /block.c | |
parent | bd491d6a4ecc57144ffa55c0daf97b43bc1648ce (diff) | |
download | qemu-fef3074347c02ed0c2fd9d1918402c966b909466.zip qemu-fef3074347c02ed0c2fd9d1918402c966b909466.tar.gz qemu-fef3074347c02ed0c2fd9d1918402c966b909466.tar.bz2 |
Escape filname printout properly, by Anthony Liguori and Julian Seward.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2263 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block.c')
-rw-r--r-- | block.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -868,9 +868,12 @@ void bdrv_info(void) term_printf(" locked=%d", bs->locked); } if (bs->drv) { - term_printf(" file=%s", bs->filename); - if (bs->backing_file[0] != '\0') - term_printf(" backing_file=%s", bs->backing_file); + term_printf(" file="); + term_print_filename(bs->filename); + if (bs->backing_file[0] != '\0') { + term_printf(" backing_file="); + term_print_filename(bs->backing_file); + } term_printf(" ro=%d", bs->read_only); term_printf(" drv=%s", bs->drv->format_name); if (bs->encrypted) |