aboutsummaryrefslogtreecommitdiff
path: root/qemu-img.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2006-12-22 14:11:32 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2006-12-22 14:11:32 +0000
commitfef3074347c02ed0c2fd9d1918402c966b909466 (patch)
tree1ca2beb79f94e3cc852dde85e49a4d5e49d7b430 /qemu-img.c
parentbd491d6a4ecc57144ffa55c0daf97b43bc1648ce (diff)
downloadqemu-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 'qemu-img.c')
-rw-r--r--qemu-img.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/qemu-img.c b/qemu-img.c
index 8b8da05..23a698d 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -113,6 +113,11 @@ void term_printf(const char *fmt, ...)
va_end(ap);
}
+void term_print_filename(const char *filename)
+{
+ term_printf(filename);
+}
+
void __attribute__((noreturn)) error(const char *fmt, ...)
{
va_list ap;