summaryrefslogtreecommitdiff
path: root/qemu-img.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-02-10 22:59:40 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-02-10 22:59:40 +0000
commitd34dda5ea5cf1f74c4543679f33bc9ea56c90c24 (patch)
treef857d4daf61dc5a6f415f711e3ff3641dca9e2e7 /qemu-img.c
parentbd59780c46430dbb31e4232aa5191f0739ed70a7 (diff)
qemu-img: fix incorrect error message, by Stuart Brady.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2414 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'qemu-img.c')
-rw-r--r--qemu-img.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-img.c b/qemu-img.c
index a25954649..6b470a150 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -457,7 +457,7 @@ static int img_convert(int argc, char **argv)
drv = bdrv_find_format(out_fmt);
if (!drv)
- error("Unknown file format '%s'", fmt);
+ error("Unknown file format '%s'", out_fmt);
if (compress && drv != &bdrv_qcow && drv != &bdrv_qcow2)
error("Compression not supported for this file format");
if (encrypt && drv != &bdrv_qcow && drv != &bdrv_qcow2)