about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-02-27 00:59:21 +0000
committerUlrich Drepper <drepper@redhat.com>2006-02-27 00:59:21 +0000
commitb95e415363eafdb25f351cb0ffd5c3fe2c5e702a (patch)
treef7e5454349cfc0c6a6aacbf798677ad61f9cca69
parent84cfa284c03d66c04e303e1d862bf89e7747ede2 (diff)
downloadglibc-b95e415363eafdb25f351cb0ffd5c3fe2c5e702a.tar.gz
glibc-b95e415363eafdb25f351cb0ffd5c3fe2c5e702a.tar.xz
glibc-b95e415363eafdb25f351cb0ffd5c3fe2c5e702a.zip
(do_test): Pass new parameter to linkat.
-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;