diff options
Diffstat (limited to 'src/unistd')
-rw-r--r-- | src/unistd/readlink.c | 2 | ||||
-rw-r--r-- | src/unistd/readlinkat.c | 2 |
2 files changed, 2 insertions, 2 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); } diff --git a/src/unistd/readlinkat.c b/src/unistd/readlinkat.c index 9565b89a..e9498650 100644 --- a/src/unistd/readlinkat.c +++ b/src/unistd/readlinkat.c @@ -1,7 +1,7 @@ #include <unistd.h> #include "syscall.h" -int readlinkat(int fd, const char *path, char *buf, size_t bufsize) +ssize_t readlinkat(int fd, const char *path, char *buf, size_t bufsize) { return syscall(SYS_readlinkat, fd, path, buf, bufsize); } |