Index: qemu-img.c =================================================================== RCS file: /sources/qemu/qemu/qemu-img.c,v retrieving revision 1.16 diff -u -r1.16 qemu-img.c --- qemu-img.c 5 Feb 2007 20:21:32 -0000 1.16 +++ qemu-img.c 8 Feb 2007 19:31:54 -0000 @@ -457,7 +457,7 @@ 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)