diff options
Diffstat (limited to 'util-linux/mkswap.c')
-rw-r--r-- | util-linux/mkswap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mkswap.c b/util-linux/mkswap.c index 9b1e2b5c3..b109f5ce1 100644 --- a/util-linux/mkswap.c +++ b/util-linux/mkswap.c | |||
@@ -20,7 +20,7 @@ int mkswap_main(int argc, char *argv[]) | |||
20 | 20 | ||
21 | // Figure out how big the device is and announce our intentions. | 21 | // Figure out how big the device is and announce our intentions. |
22 | 22 | ||
23 | fd = bb_xopen(argv[1],O_RDWR); | 23 | fd = xopen(argv[1],O_RDWR); |
24 | len = fdlength(fd); | 24 | len = fdlength(fd); |
25 | pagesize = getpagesize(); | 25 | pagesize = getpagesize(); |
26 | printf("Setting up swapspace version 1, size = %ld bytes\n", (long)(len-pagesize)); | 26 | printf("Setting up swapspace version 1, size = %ld bytes\n", (long)(len-pagesize)); |