qemu-img: Don't prepend qemu-img to error messages twice.
authorMarkus Armbruster <armbru@redhat.com>
Wed, 22 Jun 2011 12:03:55 +0000 (14:03 +0200)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 24 Jun 2011 08:13:37 +0000 (09:13 +0100)
commit43943bf541132ffaa76fb5f82e70fe09cd5cf086
tree6c48fe1c77cdf387d907e61d8f905d434a9fec5c
parent7cdb21975376cfd772793aa3193b2c5d733478f5
qemu-img: Don't prepend qemu-img to error messages twice.

error_report() prepends the location already.  Example:

$ qemu-img convert -6
qemu-img: qemu-img: option -6 is deprecated, please use '-o compat6' instead!

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
qemu-img.c