]> err.no Git - util-linux/commitdiff
swapon: fix typo s/warn/warnx/
authorKarel Zak <kzak@redhat.com>
Thu, 5 Mar 2009 19:37:31 +0000 (20:37 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 5 Mar 2009 19:37:31 +0000 (20:37 +0100)
Thanks to Hugh Dickins.

Signed-off-by: Karel Zak <kzak@redhat.com>
mount/swapon.c

index a6726cdb5496d8425d677c9ec25d2b04f4f1c499..e342293d7da0a799f8ea5446a755772bc3422a04 100644 (file)
@@ -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) {