Package: qemu
Version: 0.8.2-5
Severity: minor
Tags: patch
qemu-img has a typo in the output:
$ qemu-img create -f qcow debian.qcow 5G
Formating 'debian.qcow', fmt=qcow, size=5242880 kB
This should read "Formatting". The string is in qemu-img.c; the
attached patch fixes it.
--- qemu-img.c.old 2007-01-26 10:40:12.000000000 -0500
+++ qemu-img.c 2007-01-26 10:40:25.000000000 -0500
@@ -365,7 +365,7 @@
drv = bdrv_find_format(fmt);
if (!drv)
error("Unknown file format '%s'", fmt);
- printf("Formating '%s', fmt=%s",
+ printf("Formatting '%s', fmt=%s",
filename, fmt);
if (encrypted)
printf(", encrypted");