qemu-img: Use strerror() for generic resize error
authorMax Reitz <mreitz@redhat.com>
Wed, 15 Jun 2016 15:36:29 +0000 (17:36 +0200)
committerMax Reitz <mreitz@redhat.com>
Wed, 13 Jul 2016 11:41:38 +0000 (13:41 +0200)
commitbcf23482ae00e040dbef46c44ff914bf788a0937
tree6ca5be38c08aa069ffa041112b28071a162747ec
parent35fedb7b0e5766fc62a2c0bdce023b50dc5e3ffc
qemu-img: Use strerror() for generic resize error

Emitting the plain error number is not very helpful. Use strerror()
instead.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20160615153630.2116-2-mreitz@redhat.com
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
qemu-img.c