]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
textual: tiny tweaks of some error messages
authorBenno Schulenberg <bensberg@justemail.net>
Tue, 22 Jan 2013 09:08:03 +0000 (10:08 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 30 Jan 2013 14:23:49 +0000 (15:23 +0100)
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
disk-utils/mkswap.c

index ab481294246d777dfca80dfcd81b7aaa6b1b20b9..79a7328e8657a64e600fc0d2417b78348c816538 100644 (file)
@@ -494,7 +494,7 @@ main(int argc, char **argv) {
 #ifdef HAVE_LIBUUID
                        opt_uuid = optarg;
 #else
-                       warnx(_("warning: ignore -U (UUIDs are unsupported by %s)"),
+                       warnx(_("warning: ignoring -U (UUIDs are unsupported by %s)"),
                                program_invocation_short_name);
 #endif
                        break;
@@ -518,7 +518,7 @@ main(int argc, char **argv) {
 
        if (version != 1)
                errx(EXIT_FAILURE,
-                       _("does not support swapspace version %d."), version);
+                       _("swapspace version %d is not supported"), version);
 
 #ifdef HAVE_LIBUUID
        if(opt_uuid) {
@@ -574,7 +574,7 @@ main(int argc, char **argv) {
 
        if (is_mounted(device_name))
                errx(EXIT_FAILURE, _("error: "
-                       "%s is mounted; will not make swapspace."),
+                       "%s is mounted; will not make swapspace"),
                        device_name);
 
        if (stat(device_name, &statbuf) < 0) {