From: Karel Zak Date: Thu, 5 Mar 2009 19:37:31 +0000 (+0100) Subject: swapon: fix typo s/warn/warnx/ X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93bfcc94d303206117187ad7108144f77955775e;p=util-linux swapon: fix typo s/warn/warnx/ Thanks to Hugh Dickins. Signed-off-by: Karel Zak --- 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) {