summaryrefslogtreecommitdiff
path: root/src/conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf')
-rw-r--r--src/conf/fpathconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf/fpathconf.c b/src/conf/fpathconf.c
index 8eb037e6..e6aca5cf 100644
--- a/src/conf/fpathconf.c
+++ b/src/conf/fpathconf.c
@@ -24,7 +24,7 @@ long fpathconf(int fd, int name)
[_PC_REC_MIN_XFER_SIZE] = 4096,
[_PC_REC_XFER_ALIGN] = 4096,
[_PC_ALLOC_SIZE_MIN] = 4096,
- [_PC_SYMLINK_MAX] = SYMLINK_MAX,
+ [_PC_SYMLINK_MAX] = -1,
[_PC_2_SYMLINKS] = 1
};
if (name >= sizeof(values)/sizeof(values[0])) {