]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(do_copy): Add unused arg in calls to copy.
authorJim Meyering <jim@meyering.net>
Fri, 13 Mar 1998 23:38:27 +0000 (23:38 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 13 Mar 1998 23:38:27 +0000 (23:38 +0000)
src/cp.c

index 1e64cf4bd3ed9b6ae8f9ebeba258501c40cecb8b..adfef3da15d74334422f9466ab725e895f3878c5 100644 (file)
--- a/src/cp.c
+++ b/src/cp.c
@@ -485,7 +485,8 @@ do_copy (int argc, char **argv, const struct cp_options *x)
            }
          else
            {
-             ret |= copy (arg, dst_path, new_dst, x);
+             int unused;
+             ret |= copy (arg, dst_path, new_dst, x, &unused);
              forget_all ();
 
              if (flag_path)
@@ -506,6 +507,7 @@ do_copy (int argc, char **argv, const struct cp_options *x)
     {
       char *new_dest;
       char *source;
+      int unused;
       struct stat source_stats;
 
       if (flag_path)
@@ -572,7 +574,7 @@ do_copy (int argc, char **argv, const struct cp_options *x)
          new_dest = dest;
        }
 
-      return copy (source, new_dest, new_dst, x);
+      return copy (source, new_dest, new_dst, x, &unused);
     }
   else
     {