summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-06-19 13:59:47 +0200
committerMarkus Armbruster <armbru@redhat.com>2015-09-10 13:48:05 +0200
commit552375088a832fd5945ede92d01f98977b4eca13 (patch)
tree9eaf3d0a52722f0c97f55a93baeb42c0165abe85 /include
parentfc04a730b7e60f4a62d6260d4eb9c537d1d3643f (diff)
downloadqemu-552375088a832fd5945ede92d01f98977b4eca13.zip
error: De-duplicate code creating Error objects
Duplicated when commit 680d16d added error_set_errno(), and again when commit 20840d4 added error_set_win32(). Make the original copy in error_set() reusable by factoring out error_setv(), then rewrite error_set_errno() and error_set_win32() on top of it. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions