summaryrefslogtreecommitdiff
path: root/src/unistd/readlink.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-13 21:09:35 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-13 21:09:35 -0400
commit13cd969552409e05c941829f2aabb15e2f4d9a1f (patch)
tree5e104dd27e5f794d1f083d9a8fea516c9009eb39 /src/unistd/readlink.c
parent5e9deea0039204f3b29edb1ffe0e30325d456f84 (diff)
downloadmusl-13cd969552409e05c941829f2aabb15e2f4d9a1f.tar.gz
fix various errors in function signatures/prototypes found by nsz
Diffstat (limited to 'src/unistd/readlink.c')
-rw-r--r--src/unistd/readlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/readlink.c b/src/unistd/readlink.c
index 11f45c01..0c6d3861 100644
--- a/src/unistd/readlink.c
+++ b/src/unistd/readlink.c
@@ -1,7 +1,7 @@
#include <unistd.h>
#include "syscall.h"
-int readlink(const char *path, char *buf, size_t bufsize)
+ssize_t readlink(const char *path, char *buf, size_t bufsize)
{
return syscall(SYS_readlink, path, buf, bufsize);
}