This commit is contained in:
Arun Prakash Jana 2018-12-17 07:12:50 +05:30
parent 9422a38b0d
commit c8938df8f4
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -1405,8 +1405,8 @@ END:
buf[len] = '\0';
DPRINTF_S(buf);
wcstombs(g_buf + ((NAME_MAX + 1) << 4), buf, NAME_MAX);
return g_buf + ((NAME_MAX + 1) << 4);
wcstombs(g_buf + ((NAME_MAX + 1) << 2), buf, NAME_MAX);
return g_buf + ((NAME_MAX + 1) << 2);
}
/*