aboutsummaryrefslogtreecommitdiff
path: root/tar.c
diff options
context:
space:
mode:
Diffstat (limited to 'tar.c')
-rw-r--r--tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar.c b/tar.c
index a5a0fab64..ff60f0689 100644
--- a/tar.c
+++ b/tar.c
@@ -844,7 +844,7 @@ static void saveDirectory (const char *dirName, const struct stat *statbuf)
DIR *dir;
struct dirent *entry;
int needSlash;
- char fullName[PATH_LEN];
+ char fullName[NAME_MAX];
/*
* Construct the directory name as used in the tar file by appending