]> err.no Git - util-linux/commit
use getpagesize()
authormaximilian attems <max@stro.at>
Wed, 30 Jul 2008 09:46:32 +0000 (11:46 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 12 Dec 2008 12:39:14 +0000 (13:39 +0100)
commit53d7854beaf2dd11c793ffadd571488e6772b6da
treeadb1528b338e4d076311d89aceb4cc56de8ccab3
parent815f3eda9ed7b5ce411f20be272586ebfde56f5d
use getpagesize()

getpagesize() is said to be more portable than sysconf(_SC_PAGESIZE)
to anything Linux.

this patch helps klibc porting effort as the sysconf
multiplex API is not supported there.

also remove comment of the switch to sysconf in mkswap.c.

Signed-off-by: maximilian attems <max@stro.at>
disk-utils/fsck.cramfs.c
disk-utils/mkfs.cramfs.c
disk-utils/mkswap.c
sys-utils/ipcs.c
tests/helpers/test_sysinfo.c