util/osdep: Improve error report by calling error_setg_win32()
commitcf0c76cd6d6fc2f6e62160cd209bd0ed622bb83c
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 28 Feb 2020 10:07:24 +0000 (28 11:07 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 9 Mar 2020 12:36:15 +0000 (9 13:36 +0100)
tree9b01c69bf0090c58eb255e1ebde901db80420df3
parent4c235193a2132a1d8e9bd78a21d90153c1f662ff
util/osdep: Improve error report by calling error_setg_win32()

Use error_setg_win32() which adds a hint similar to strerror(errno)).

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200228100726.8414-3-philmd@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
util/osdep.c