summaryrefslogtreecommitdiffstats
path: root/Compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'Compat.c')
-rw-r--r--Compat.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Compat.c b/Compat.c
index 4cf27399..43d02ec7 100644
--- a/Compat.c
+++ b/Compat.c
@@ -94,11 +94,11 @@ int Compat_openat(const char* dirpath,
#endif /* !HAVE_OPENAT */
-int Compat_readlinkat(int dirfd,
- const char* dirpath,
- const char* pathname,
- char* buf,
- size_t bufsize) {
+ssize_t Compat_readlinkat(int dirfd,
+ const char* dirpath,
+ const char* pathname,
+ char* buf,
+ size_t bufsize) {
#ifdef HAVE_READLINKAT