chardev: Improve error report by calling error_setg_win32()
commit4c235193a2132a1d8e9bd78a21d90153c1f662ff
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 28 Feb 2020 10:07:23 +0000 (28 11:07 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 9 Mar 2020 12:36:15 +0000 (9 13:36 +0100)
tree2430ebc3c6e339a1b76630fffff69e9e956a6c18
parent67f17e23baca5dd545fe98b01169cc351a70fe35
chardev: Improve error report by calling error_setg_win32()

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

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200228100726.8414-2-philmd@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
chardev/char-pipe.c
chardev/char-win.c