Skip to content

Commit

Permalink
mkswap: fix page size warning message
Browse files Browse the repository at this point in the history
Signed-off-by: Karel Zak <[email protected]>
  • Loading branch information
Noel Cragg authored and karelzak committed Nov 29, 2018
1 parent 9c7431f commit 4850e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disk-utils/mkswap.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static void init_signature_page(struct mkswap_control *ctl)
if (ctl->user_pagesize != kernel_pagesize)
warnx(_("Using user-specified page size %d, "
"instead of the system value %d"),
ctl->pagesize, kernel_pagesize);
ctl->user_pagesize, kernel_pagesize);
ctl->pagesize = ctl->user_pagesize;
} else
ctl->pagesize = kernel_pagesize;
Expand Down

0 comments on commit 4850e97

Please sign in to comment.