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