(SIGAR-212) pass LANG_ENGLISH to FormatMessage in Windows sigar_strerror impl
This commit is contained in:
1 parent
e4fda73a29
commit
b1da05dbe0
1 file changed
+1
-1
+1
-1
@@ -166,7 +166,7 @@ char *sigar_strerror_get(int err, char *errbuf, int buflen)
|
||||
FORMAT_MESSAGE_IGNORE_INSERTS,
|
||||
NULL,
|
||||
err,
|
||||
0, /* default language */
|
||||
MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAULT), /* force english */
|
||||
(LPTSTR)errbuf,
|
||||
(DWORD)buflen,
|
||||
NULL);
|
||||
|
||||
Reference in new issue
Block a user