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 af7e4d3b..f1bcc340 100644
--- a/src/conf/fpathconf.c
+++ b/src/conf/fpathconf.c
@@ -18,7 +18,7 @@ long fpathconf(int fd, int name)
[_PC_ASYNC_IO] = 0,
[_PC_PRIO_IO] = 0,
[_PC_SOCK_MAXBUF] = -1,
- [_PC_FILESIZEBITS] = sizeof(off_t),
+ [_PC_FILESIZEBITS] = FILESIZEBITS,
[_PC_REC_INCR_XFER_SIZE] = PAGE_SIZE,
[_PC_REC_MAX_XFER_SIZE] = PAGE_SIZE,
[_PC_REC_MIN_XFER_SIZE] = PAGE_SIZE,