summaryrefslogtreecommitdiffstats
path: root/login-utils/su-common.c
diff options
context:
space:
mode:
authorBenno Schulenberg2014-07-22 22:56:27 +0200
committerKarel Zak2014-07-23 08:56:00 +0200
commit09af3db48e01e5744f15fd8a2395e0fed36526ea (patch)
tree2366730c75e6c1b6ad662184107e948481344afd /login-utils/su-common.c
parentswapon: don't print errors as data in smartcols table (diff)
downloadkernel-qcow2-util-linux-09af3db48e01e5744f15fd8a2395e0fed36526ea.tar.gz
kernel-qcow2-util-linux-09af3db48e01e5744f15fd8a2395e0fed36526ea.tar.xz
kernel-qcow2-util-linux-09af3db48e01e5744f15fd8a2395e0fed36526ea.zip
textual: fix some typos and inconsistencies in various messages
Fixing plain typos, miswordings, inconsistent periods, some missing angular brackets, and a proper pluralization (even when it involves a constant, because for some languages the precise value matters). Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'login-utils/su-common.c')
-rw-r--r--login-utils/su-common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/login-utils/su-common.c b/login-utils/su-common.c
index 2766a6033..db7282621 100644
--- a/login-utils/su-common.c
+++ b/login-utils/su-common.c
@@ -857,7 +857,7 @@ su_main (int argc, char **argv, int mode)
}
if (simulate_login && !change_environment) {
- warnx(_("ignore --preserve-environment, it's mutually exclusive to --login."));
+ warnx(_("ignoring --preserve-environment, it's mutually exclusive with --login"));
change_environment = true;
}
@@ -869,10 +869,10 @@ su_main (int argc, char **argv, int mode)
if (shell || fast_startup || command || simulate_login) {
errx(EXIT_FAILURE,
_("options --{shell,fast,command,session-command,login} and "
- "--user are mutually exclusive."));
+ "--user are mutually exclusive"));
}
if (optind == argc)
- errx(EXIT_FAILURE, _("COMMAND not specified."));
+ errx(EXIT_FAILURE, _("no command was specified"));
break;
}