diff options
author | Markus Armbruster <armbru@redhat.com> | 2015-12-18 16:35:10 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2016-01-13 15:16:17 +0100 |
commit | a4699e55f596e552c9b45028a0e831c3438f768d (patch) | |
tree | d920931d15710b1fef26823fb9db2bc2f3c244ea /blockjob.c | |
parent | cd5c2dac2e6e60b4f7048d932530cec9d3fdc5da (diff) |
qemu-nbd: Clean up "Failed to load snapshot" error message
bdrv_snapshot_load_tmp() sets an error and returns -errno on failure.
We report both even though the error message is self-contained. Drop
the redundant strerror().
While there: setting errno right before exit() is pointless, so drop
that, too.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1450452927-8346-8-git-send-email-armbru@redhat.com>
Diffstat (limited to 'blockjob.c')
0 files changed, 0 insertions, 0 deletions