Skip to content

Commit

Permalink
add missing case
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Dec 13, 2023
1 parent 496376d commit f31da30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/server/util.c
Expand Up @@ -137,7 +137,7 @@ void logmsg(const char *msg, ...)
static const char *win32_strerror(int err, char *buf, size_t buflen)
{
if(!FormatMessageA((FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS), NULL, err,
FORMAT_MESSAGE_IGNORE_INSERTS), NULL, (DWORD)err,
LANG_NEUTRAL, buf, (DWORD)buflen, NULL))
msnprintf(buf, buflen, "Unknown error %lu (%#lx)", err, err);
return buf;
Expand Down

0 comments on commit f31da30

Please sign in to comment.