mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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
This commit is contained in:
parent
bd59780c46
commit
d34dda5ea5
1 changed files with 1 additions and 1 deletions
|
@ -457,7 +457,7 @@ static int img_convert(int argc, char **argv)
|
||||||
|
|
||||||
drv = bdrv_find_format(out_fmt);
|
drv = bdrv_find_format(out_fmt);
|
||||||
if (!drv)
|
if (!drv)
|
||||||
error("Unknown file format '%s'", fmt);
|
error("Unknown file format '%s'", out_fmt);
|
||||||
if (compress && drv != &bdrv_qcow && drv != &bdrv_qcow2)
|
if (compress && drv != &bdrv_qcow && drv != &bdrv_qcow2)
|
||||||
error("Compression not supported for this file format");
|
error("Compression not supported for this file format");
|
||||||
if (encrypt && drv != &bdrv_qcow && drv != &bdrv_qcow2)
|
if (encrypt && drv != &bdrv_qcow && drv != &bdrv_qcow2)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue