mirror of
https://github.com/mborgerson/xemu.git
synced 2026-02-20 07:45:42 +00:00
Duplicated when commit680d16dadded error_set_errno(), and again when commit20840d4added 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>