From 6d893bd991df2d3d0b56be3a2cf926756c602915 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 1 Apr 2006 19:12:44 +0000 Subject: [BZ #2450] * posix/unistd.h: Match return value of readlink to what POSIX says these days. * io/readlink.c: Likewise. * io/readlinkat.c: Likewise. * sysdeps/unix/sysv/linux/readlinkat.c: Likewise. --- sysdeps/unix/sysv/linux/readlinkat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps') diff --git a/sysdeps/unix/sysv/linux/readlinkat.c b/sysdeps/unix/sysv/linux/readlinkat.c index c2f21ee4ca..9b4a730c0e 100644 --- a/sysdeps/unix/sysv/linux/readlinkat.c +++ b/sysdeps/unix/sysv/linux/readlinkat.c @@ -29,7 +29,7 @@ /* Read the contents of the symbolic link PATH relative to FD into no more than LEN bytes of BUF. */ -int +ssize_t readlinkat (fd, path, buf, len) int fd; const char *path; -- cgit v1.2.3-70-g09d2