diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/tar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/tar.c b/archival/tar.c index d96d20227..db812e0f4 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -301,7 +301,7 @@ static int exclude_file(const llist_t *excluded_files, const char *file) | |||
301 | # endif | 301 | # endif |
302 | 302 | ||
303 | static int writeFileToTarball(const char *fileName, struct stat *statbuf, | 303 | static int writeFileToTarball(const char *fileName, struct stat *statbuf, |
304 | void *userData) | 304 | void *userData, int depth) |
305 | { | 305 | { |
306 | struct TarBallInfo *tbInfo = (struct TarBallInfo *) userData; | 306 | struct TarBallInfo *tbInfo = (struct TarBallInfo *) userData; |
307 | const char *header_name; | 307 | const char *header_name; |
@@ -473,7 +473,7 @@ static int writeTarFile(const int tar_fd, const int verboseFlag, | |||
473 | /* Read the directory/files and iterate over them one at a time */ | 473 | /* Read the directory/files and iterate over them one at a time */ |
474 | while (include) { | 474 | while (include) { |
475 | if (!recursive_action(include->data, TRUE, dereferenceFlag, | 475 | if (!recursive_action(include->data, TRUE, dereferenceFlag, |
476 | FALSE, writeFileToTarball, writeFileToTarball, &tbInfo)) | 476 | FALSE, writeFileToTarball, writeFileToTarball, &tbInfo, 0)) |
477 | { | 477 | { |
478 | errorFlag = TRUE; | 478 | errorFlag = TRUE; |
479 | } | 479 | } |