From 93bfcc94d303206117187ad7108144f77955775e Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 5 Mar 2009 20:37:31 +0100 Subject: [PATCH] swapon: fix typo s/warn/warnx/ Thanks to Hugh Dickins. Signed-off-by: Karel Zak --- mount/swapon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mount/swapon.c b/mount/swapon.c index a6726cdb..e342293d 100644 --- a/mount/swapon.c +++ b/mount/swapon.c @@ -412,13 +412,13 @@ swapon_checks(const char *special) special, swapsize); } else if (getpagesize() != pagesize) { if (fixpgsz) { - warn(_("%s: swap format pagesize does not match."), + warnx(_("%s: swap format pagesize does not match."), special); if (swap_reinitialize(special) < 0) goto err; } else - warn(_("%s: swap format pagesize does not match. " - "(may try --fixpgsz to reinitialize)"), + warnx(_("%s: swap format pagesize does not match. " + "(Use --fixpgsz to reinitialize it.)"), special); } } else if (sig == SIG_SWSUSPEND) { -- 2.39.5