From 36c53e8e4f2ec5428404d422d3d6cbf42f4ae491 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 28 Jan 2007 23:02:24 +0000 Subject: sync with glibc as pointed out by Bernhard Fischer --- libc/sysdeps/linux/common/readlink.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libc/sysdeps/linux/common') diff --git a/libc/sysdeps/linux/common/readlink.c b/libc/sysdeps/linux/common/readlink.c index 14f3d1515..d68391302 100644 --- a/libc/sysdeps/linux/common/readlink.c +++ b/libc/sysdeps/linux/common/readlink.c @@ -2,7 +2,7 @@ /* * readlink() for uClibc * - * Copyright (C) 2000-2006 Erik Andersen + * Copyright (C) 2000-2007 Erik Andersen * * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ @@ -11,6 +11,5 @@ #include libc_hidden_proto(readlink) - -_syscall3(int, readlink, const char *, path, char *, buf, size_t, bufsiz); +_syscall3(ssize_t, readlink, const char *, path, char *, buf, size_t, bufsiz); libc_hidden_def(readlink) -- cgit v1.2.3