fixed parameters
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Wed, 18 Feb 2004 04:48:24 +0000 (04:48 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Wed, 18 Feb 2004 04:48:24 +0000 (04:48 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@942 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/lib_internal/unify-deunify.c

index a942aab..fe4bd1e 100644 (file)
@@ -34,8 +34,7 @@
 #include <wrappers.h>
 
 bool
-Unify_deUnify(char const UNUSED *src, struct stat const UNUSED *src_stat,
-             char const *dst,        struct stat const UNUSED *dst_stat)
+Unify_deUnify(char const *dst)
 {
   size_t               l = strlen(dst);
   char                 tmpfile[l + sizeof(";XXXXXX")];
@@ -82,7 +81,7 @@ Unify_deUnify(char const UNUSED *src, struct stat const UNUSED *src_stat,
     }
     if (len==0) break;
 
-    if (!WwriteAll(fd_tmp, buf, len)) goto err;
+    if (!WwriteAll(fd_tmp, buf, len, 0)) goto err;
   }
 
   if (close(fd_src)==-1) {