mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-15 11:36:54 +02:00
PATH_MAX is not defined on some Linux systems.
This commit is contained in:
parent
70efa5f606
commit
c86418934c
1 changed files with 1 additions and 1 deletions
2
one.cpp
2
one.cpp
|
@ -1171,7 +1171,7 @@ static int cli(int argc,char **argv)
|
|||
}
|
||||
}
|
||||
close(sock);
|
||||
char cwd[PATH_MAX];
|
||||
char cwd[16384];
|
||||
getcwd(cwd, sizeof(cwd));
|
||||
sprintf(cwd, "%s%szerotier_dump.txt", cwd, ZT_PATH_SEPARATOR_S);
|
||||
fprintf(stdout, "Writing dump to: %s\n", cwd);
|
||||
|
|
Loading…
Add table
Reference in a new issue