Commit e993bda6 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Dridi Boukelmoune

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

parent 4a48254d
......@@ -552,7 +552,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