diff options
Diffstat (limited to 'cp_mv.c')
-rw-r--r-- | cp_mv.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -105,7 +105,7 @@ fill_baseDest_buf(char *_buf, size_t * _buflen) { | |||
105 | } | 105 | } |
106 | 106 | ||
107 | static int | 107 | static int |
108 | cp_mv_Action(const char *fileName, struct stat *statbuf) | 108 | cp_mv_Action(const char *fileName, struct stat *statbuf, void* junk) |
109 | { | 109 | { |
110 | char destName[PATH_MAX + 1]; | 110 | char destName[PATH_MAX + 1]; |
111 | size_t destLen; | 111 | size_t destLen; |
@@ -165,7 +165,7 @@ cp_mv_Action(const char *fileName, struct stat *statbuf) | |||
165 | } | 165 | } |
166 | 166 | ||
167 | static int | 167 | static int |
168 | rm_Action(const char *fileName, struct stat *statbuf) | 168 | rm_Action(const char *fileName, struct stat *statbuf, void* junk) |
169 | { | 169 | { |
170 | int status = TRUE; | 170 | int status = TRUE; |
171 | 171 | ||
@@ -310,11 +310,11 @@ extern int cp_mv_main(int argc, char **argv) | |||
310 | mv_Action_first_time = 1; | 310 | mv_Action_first_time = 1; |
311 | if (recursiveAction(baseSrcName, | 311 | if (recursiveAction(baseSrcName, |
312 | recursiveFlag, followLinks, FALSE, | 312 | recursiveFlag, followLinks, FALSE, |
313 | cp_mv_Action, cp_mv_Action) == FALSE) goto exit_false; | 313 | cp_mv_Action, cp_mv_Action, NULL) == FALSE) goto exit_false; |
314 | if (dz_i == is_mv && | 314 | if (dz_i == is_mv && |
315 | recursiveAction(baseSrcName, | 315 | recursiveAction(baseSrcName, |
316 | recursiveFlag, followLinks, TRUE, | 316 | recursiveFlag, followLinks, TRUE, |
317 | rm_Action, rm_Action) == FALSE) goto exit_false; | 317 | rm_Action, rm_Action, NULL) == FALSE) goto exit_false; |
318 | } | 318 | } |
319 | if (flags_memo) | 319 | if (flags_memo) |
320 | *(baseDestName + baseDestLen) = '\0'; | 320 | *(baseDestName + baseDestLen) = '\0'; |