summaryrefslogtreecommitdiffstats
path: root/login-utils/chsh.c
diff options
context:
space:
mode:
authorBenno Schulenberg2007-09-29 15:14:42 +0200
committerKarel Zak2007-10-26 01:02:44 +0200
commit6557c51226da131349beeee5c79d71129406f9a5 (patch)
treef11625c322862fc0650405eb0b54b2613363ec29 /login-utils/chsh.c
parentcfdisk: slightly increase the size of menu buttons (diff)
downloadkernel-qcow2-util-linux-6557c51226da131349beeee5c79d71129406f9a5.tar.gz
kernel-qcow2-util-linux-6557c51226da131349beeee5c79d71129406f9a5.tar.xz
kernel-qcow2-util-linux-6557c51226da131349beeee5c79d71129406f9a5.zip
docs: tweak a few messages for clarity
Add a missing period, a missing space, a comma and a word for clarity, plus a period and an uppercase letter to match surrounding messages. Further add a missing call to gettext, and undo an unneeded linewrap. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'login-utils/chsh.c')
-rw-r--r--login-utils/chsh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/login-utils/chsh.c b/login-utils/chsh.c
index 430a34b5b..58cbbb068 100644
--- a/login-utils/chsh.c
+++ b/login-utils/chsh.c
@@ -372,11 +372,11 @@ check_shell (char *shell) {
#ifdef ONLY_LISTED_SHELLS
if (! get_shell_list (shell)) {
if (!getuid())
- printf (_("Warning: \"%s\" is not listed in /etc/shells\n"), shell);
+ printf (_("Warning: \"%s\" is not listed in /etc/shells.\n"), shell);
else {
printf (_("%s: \"%s\" is not listed in /etc/shells.\n"),
whoami, shell);
- printf( _("%s: use -l option to see list\n"), whoami );
+ printf( _("%s: Use -l option to see list.\n"), whoami );
exit(1);
}
}