]> 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>
Wed, 30 Jul 2008 11:26:58 +0000 (13:26 +0200)
commitd144727bc3e5f77692fc2d6b5c1dbf5d05fc495c
tree6d0e94d31cc05862eb171216a73e9c917a63cd0b
parentd50c5917f07a0674e4e48a19d6902d17fb43e5bc
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