X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fconf%2Ffpathconf.c;h=f1bcc340cc377e4fd54d3f775414b1490cd09508;hp=af7e4d3bb1db55a60f6cf56008d20c12bf23785a;hb=3e082df3cc4c287f659e9067b2b23c7db0855695;hpb=47a8816ded18284d924387c918186935d2495c01 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,