qemu-io: Use error_[gs]et_progname()
commit99e98d7c9fc1a1639fad2c638733b02f4b43aebe
authorChristophe Fergeau <cfergeau@redhat.com>
Thu, 31 Jan 2019 16:46:13 +0000 (31 17:46 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 17 Apr 2019 17:08:27 +0000 (17 19:08 +0200)
tree5655bc7d2f627c2e19f4713dea6feba78f5214e1
parenteeba63fc7fface36f438bcbc0d3b02e7dcb59983
qemu-io: Use error_[gs]et_progname()

qemu-io reimplements itself what
error_get_progname()/error_set_progname() already does.
This commit switches it to use this API from qemu-error.h

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20190131164614.19209-2-cfergeau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
qemu-io.c