about summary refs log tree commit diff
path: root/stdlib/test-canon.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/test-canon.c')
-rw-r--r--stdlib/test-canon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/test-canon.c b/stdlib/test-canon.c
index 95a5b78128..52a04ca88f 100644
--- a/stdlib/test-canon.c
+++ b/stdlib/test-canon.c
@@ -28,7 +28,7 @@ Cambridge, MA 02139, USA.  */
 #include <unistd.h>
 #include <sys/param.h>
 
-static char	cwd[1024];
+static char	cwd[PATH_MAX];
 static size_t	cwd_len;
 
 struct {