Fix various compile warnings
[splice.git] / vmsplice.c
index 73871eb47cfb9ad9b283b6be507b78e55666b6f0..2cfe6b29b1e544b609aec6b4d27a34320043fa7e 100644 (file)
@@ -45,7 +45,7 @@ int do_vmsplice(int fd, void *b1, void *b2, int len)
                if (poll(&pfd, 1, -1) < 0)
                        return error("poll");
 
-               written = vmsplice(fd, &iov[idx], 2 - idx, splice_flags);
+               written = svmsplice(fd, &iov[idx], 2 - idx, splice_flags);
 
                if (written <= 0)
                        return error("vmsplice");