Commit 0051cbe3 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Import from VTest: Don't use explicit buffer size with no buffer

parent 85a42d7d
......@@ -698,7 +698,7 @@ main(int argc, char * const *argv)
else
tmppath = strdup("/tmp");
cwd = getcwd(NULL, PATH_MAX);
cwd = getcwd(NULL, 0);
extmacro_def("pwd", "%s", cwd);
vmod_path = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment