diff options
| author | Rich Felker <dalias@aerifal.cx> | 2011-08-16 23:18:30 -0400 |
|---|---|---|
| committer | Rich Felker <dalias@aerifal.cx> | 2011-08-16 23:18:30 -0400 |
| commit | 3e082df3cc4c287f659e9067b2b23c7db0855695 (patch) | |
| tree | 13f5725f32e071b4bfe2aac070098eab3543f163 | |
| parent | 47a8816ded18284d924387c918186935d2495c01 (diff) | |
| download | musl-3e082df3cc4c287f659e9067b2b23c7db0855695.tar.gz | |
fix bogus pathconf result for file size bits
| -rw-r--r-- | src/conf/fpathconf.c | 2 |
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, |
