qemu-img: Call error_set_progname
commit53f76e5857b66dd7fa90efa9ea8326eff5aa693f
authorKevin Wolf <kwolf@redhat.com>
Thu, 16 Dec 2010 14:10:32 +0000 (16 15:10 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 17 Dec 2010 15:11:03 +0000 (17 16:11 +0100)
tree416a0dc91256ac8984e6133199985a51bb1cbb7a
parent1bdaa28d7a521628345a46626c2fd6c279562776
qemu-img: Call error_set_progname

Call error_set_progname during the qemu-img initialization, so that error
messages printed with error_report() use the right prefix.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-img.c