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)
844 DIR *dir; 844 DIR *dir;
845 struct dirent *entry; 845 struct dirent *entry;
846 int needSlash; 846 int needSlash;
847 char fullName[PATH_LEN]; 847 char fullName[NAME_MAX];
848 848
849 /* 849 /*
850 * Construct the directory name as used in the tar file by appending 850 * Construct the directory name as used in the tar file by appending