(do_test): Pass new parameter to linkat.
authorUlrich Drepper <drepper@redhat.com>
Mon, 27 Feb 2006 00:59:21 +0000 (00:59 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 27 Feb 2006 00:59:21 +0000 (00:59 +0000)
io/tst-linkat.c

index a77ceb1..d63c982 100644 (file)
@@ -105,7 +105,7 @@ do_test (void)
 
   close (fd);
 
-  if (linkat (dir_fd, "some-file", dir_fd, "another-file") != 0)
+  if (linkat (dir_fd, "some-file", dir_fd, "another-file", 0) != 0)
     {
       puts ("symlinkat failed");
       return 1;