summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io/tst-linkat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/tst-linkat.c b/io/tst-linkat.c
index a77ceb1db4..d63c982751 100644
--- a/io/tst-linkat.c
+++ b/io/tst-linkat.c
@@ -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;