win: os_get_hostname() #5416 (#6413)

This commit is contained in:
Justin M. Keyes
2017-04-07 19:46:33 +02:00
committed by GitHub
parent 1813076c44
commit 13352c00f1
4 changed files with 63 additions and 29 deletions

View File

@@ -1009,7 +1009,7 @@ char *os_resolve_shortcut(const char *fname)
WCHAR *p;
const int conversion_result = utf8_to_utf16(fname, &p);
if (conversion_result != 0) {
EMSG2("utf8_to_utf16 failed: %s", uv_strerror(conversion_result));
EMSG2("utf8_to_utf16 failed: %d", conversion_result);
}
if (p != NULL) {