qemu-nbd: Clean up "Failed to load snapshot" error message
commita4699e55f596e552c9b45028a0e831c3438f768d
authorMarkus Armbruster <armbru@redhat.com>
Fri, 18 Dec 2015 15:35:10 +0000 (18 16:35 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 13 Jan 2016 14:16:17 +0000 (13 15:16 +0100)
treed920931d15710b1fef26823fb9db2bc2f3c244ea
parentcd5c2dac2e6e60b4f7048d932530cec9d3fdc5da
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>
qemu-nbd.c