1
0
mirror of https://github.com/winfsp/winfsp.git synced 2026-01-09 12:48:06 -06:00
This commit is contained in:
zeho11
2023-01-31 19:13:10 +08:00
parent 69cc1820e1
commit 1f0fd4c280
3 changed files with 97 additions and 67 deletions

View File

@@ -461,7 +461,7 @@ int main(int argc, char *argv[])
#if defined(_WIN64) || defined(_WIN32)
{
char buf[PATH_MAX * 4];
char buf[PATH_MAX];
if (-1 != getpath(ptfs.rootdir, buf, sizeof buf))
{
ptfs.rootlen = strlen(buf);