diff options
author | Markus Armbruster <armbru@redhat.com> | 2015-06-19 13:59:47 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2015-09-10 13:48:05 +0200 |
commit | 552375088a832fd5945ede92d01f98977b4eca13 (patch) | |
tree | 9eaf3d0a52722f0c97f55a93baeb42c0165abe85 /default-configs | |
parent | fc04a730b7e60f4a62d6260d4eb9c537d1d3643f (diff) |
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 'default-configs')
0 files changed, 0 insertions, 0 deletions