diff options
| author | Markus Armbruster | 2015-02-12 14:49:50 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2015-03-10 14:02:24 +0100 |
| commit | 27994d587940b0c72d5f1d69f6e1a62a02f26dc9 (patch) | |
| tree | d2815db37db42438b0e9f5961254ea69cb850171 /scripts | |
| parent | Add testcase for scsi-hd devices without drive property (diff) | |
| download | qemu-27994d587940b0c72d5f1d69f6e1a62a02f26dc9.tar.gz qemu-27994d587940b0c72d5f1d69f6e1a62a02f26dc9.tar.xz qemu-27994d587940b0c72d5f1d69f6e1a62a02f26dc9.zip | |
sheepdog: Fix misleading error messages in sd_snapshot_create()
If do_sd_create() fails, it first reports the error returned, then
reports a another one with strerror(errno). errno is meaningless at
that point.
Report just one error combining the valid information from both
messages.
Reported-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Liu Yuan <namei.unix@gmail.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
