aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mkswap.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/mkswap.c')
-rw-r--r--util-linux/mkswap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mkswap.c b/util-linux/mkswap.c
index 9e51a1dcc..8fe5d0293 100644
--- a/util-linux/mkswap.c
+++ b/util-linux/mkswap.c
@@ -128,7 +128,7 @@ int mkswap_main(int argc UNUSED_PARAM, char **argv)
128 128
129 /* Figure out how big the device is */ 129 /* Figure out how big the device is */
130 len = get_volume_size_in_bytes(fd, argv[1], 1024, /*extend:*/ 1); 130 len = get_volume_size_in_bytes(fd, argv[1], 1024, /*extend:*/ 1);
131 pagesize = getpagesize(); 131 pagesize = bb_getpagesize();
132 len -= pagesize; 132 len -= pagesize;
133 133
134 /* Announce our intentions */ 134 /* Announce our intentions */