On 12/17/2015 09:49 AM, Markus Armbruster wrote:
> 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 <arm...@redhat.com>
> ---
>  qemu-nbd.c | 14 +++++---------
>  1 file changed, 5 insertions(+), 9 deletions(-)
> 

Reviewed-by: Eric Blake <ebl...@redhat.com>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to