]> git.proxmox.com Git - mirror_qemu.git/commit
error: ensure errno detail is printed with error_abort
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 9 Mar 2016 17:28:24 +0000 (17:28 +0000)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 16 Mar 2016 09:55:51 +0000 (10:55 +0100)
commit20e2dec14954568848ad74e73aee9b3aeedd6584
treea38094b70b04645c91eb85457b821fb4637c0a43
parenta6cdb77f816961f929d7934643febd2852230135
error: ensure errno detail is printed with error_abort

When &error_abort is passed in, the error reporting code
will print the current error message and then abort() the
process. Unfortunately at the time it aborts, we've not
yet appended the errno detail. This makes debugging certain
problems significantly harder as the log is incomplete.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1457544504-8548-22-git-send-email-berrange@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
util/error.c