]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
blkmapd: Use getconf(_SC_PAGE_SIZE)
authorLuk Claes <luk@debian.org>
Mon, 3 Oct 2011 12:42:20 +0000 (08:42 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 3 Oct 2011 12:49:21 +0000 (08:49 -0400)
PAGE_SIZE is not exported by all architectures as it is not fixed: it
can depend on the model of the machine. So it's better to query the
system configuration for the actual page size on the machine.

Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Steve Dickson <steved@redhat.com>

No differences found