summaryrefslogtreecommitdiffstats
path: root/qemu-nbd.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-12-18 16:35:09 +0100
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:28:24 -0600
commitd2161040d14d934d2f9a4b8f54d07b9e5b25f54b (patch)
treea1eb5f6246038e7313b69d02168560bc71043d7d /qemu-nbd.c
parentf89fcbe7c2aee46cae7b45120e4389ee42f8e96c (diff)
downloadhqemu-d2161040d14d934d2f9a4b8f54d07b9e5b25f54b.zip
hqemu-d2161040d14d934d2f9a4b8f54d07b9e5b25f54b.tar.gz
block: Clean up "Could not create temporary overlay" error message
bdrv_create() sets an error and returns -errno on failure. When the latter is interesting, the error is created with error_setg_errno(). bdrv_append_temp_snapshot() uses the error's message to create a new one with error_setg_errno(). This adds a strerror() that is either uninteresting or duplicate. Use error_setg() instead. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <1450452927-8346-7-git-send-email-armbru@redhat.com>
Diffstat (limited to 'qemu-nbd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud