ifupdown: save some 100+ bytes of code in addstr()
[oweals/busybox.git] / archival / tar.c
index d96d2022735e1487db20328b6d69d284c553ae24..db812e0f4ff14f5d7ac3ee3ff193ed4da162400b 100644 (file)
@@ -301,7 +301,7 @@ static int exclude_file(const llist_t *excluded_files, const char *file)
 # endif
 
 static int writeFileToTarball(const char *fileName, struct stat *statbuf,
-                                                         void *userData)
+                       void *userData, int depth)
 {
        struct TarBallInfo *tbInfo = (struct TarBallInfo *) userData;
        const char *header_name;
@@ -473,7 +473,7 @@ static int writeTarFile(const int tar_fd, const int verboseFlag,
        /* Read the directory/files and iterate over them one at a time */
        while (include) {
                if (!recursive_action(include->data, TRUE, dereferenceFlag,
-                               FALSE, writeFileToTarball, writeFileToTarball, &tbInfo))
+                               FALSE, writeFileToTarball, writeFileToTarball, &tbInfo, 0))
                {
                        errorFlag = TRUE;
                }