]> Git Repo - qemu.git/commit - qemu-nbd.c
qemu-nbd: Clean up "Failed to load snapshot" error message
authorMarkus Armbruster <[email protected]>
Fri, 18 Dec 2015 15:35:10 +0000 (16:35 +0100)
committerMarkus Armbruster <[email protected]>
Wed, 13 Jan 2016 14:16:17 +0000 (15:16 +0100)
commita4699e55f596e552c9b45028a0e831c3438f768d
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 <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Message-Id: <1450452927[email protected]>
qemu-nbd.c
This page took 0.025711 seconds and 4 git commands to generate.