summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b6a9d63e..83e47e87 100644
--- a/src/conf/fpathconf.c
+++ b/src/conf/fpathconf.c
@@ -5,7 +5,7 @@
long fpathconf(int fd, int name)
{
static const long values[] = {
- [_PC_LINK_MAX] = _POSIX_LINK_MAX,
+ [_PC_LINK_MAX] = -1,
[_PC_MAX_CANON] = _POSIX_MAX_CANON,
[_PC_MAX_INPUT] = _POSIX_MAX_INPUT,
[_PC_NAME_MAX] = NAME_MAX,