projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd59780
)
qemu-img: fix incorrect error message, by Stuart Brady.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 10 Feb 2007 22:59:40 +0000
(22:59 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 10 Feb 2007 22:59:40 +0000
(22:59 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2414
c046a42c
-6fe2-441c-8c8c-
71466251a162
qemu-img.c
patch
|
blob
|
history
diff --git
a/qemu-img.c
b/qemu-img.c
index a25954649b106ef795bee8dc0d4707f7da9bcb26..6b470a1506df445b0777acc740adef9d94ee0fa5 100644
(file)
--- 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)