aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
Diffstat (limited to 'archival')
-rw-r--r--archival/tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c
index a5a0fab64..ff60f0689 100644
--- a/archival/tar.c
+++ b/archival/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