summaryrefslogtreecommitdiffstats
path: root/login-utils/login.c
diff options
context:
space:
mode:
authorBernhard Voelker2012-06-27 15:23:05 +0200
committerKarel Zak2012-07-09 16:56:30 +0200
commit7007991f6f49ede6a2b622e0c6cbad0579df5ea2 (patch)
tree2972ad4169ca57743994a1b7dff62b8d6b6d9f45 /login-utils/login.c
parentbuild-sys: add -Wredundant-decls (diff)
downloadkernel-qcow2-util-linux-7007991f6f49ede6a2b622e0c6cbad0579df5ea2.tar.gz
kernel-qcow2-util-linux-7007991f6f49ede6a2b622e0c6cbad0579df5ea2.tar.xz
kernel-qcow2-util-linux-7007991f6f49ede6a2b622e0c6cbad0579df5ea2.zip
docs: fix typos found by misspellings
The tool misspellings (https://github.com/lyda/misspell-check) detected several typos. Command used: $ git ls-files | grep -v ^po/ | misspellings -f - * Documentation/releases/v2.18-ReleaseNotes: Fix typo in news entry. * NEWS: Likewise. * config/texinfo.tex: Fix typo in comments. * libmount/src/context.c: Fix typo in comment. * libmount/src/fs.c: Likewise. * login-utils/login.c: Likewise. * login-utils.su.1: Fix typo in man page. * sys-utils/chcpu.c: Fix typo in error message. Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
Diffstat (limited to 'login-utils/login.c')
-rw-r--r--login-utils/login.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/login-utils/login.c b/login-utils/login.c
index 6ed996f00..fe13d8d1d 100644
--- a/login-utils/login.c
+++ b/login-utils/login.c
@@ -364,7 +364,7 @@ static void init_tty(struct login_context *cxt)
*
* More precisely, the problem is ttyn := ttyname(0); ...; chown(ttyn);
* here ttyname() might return "/tmp/x", a hardlink to a pseudotty.
- * All of this is a problem only when login is suid, which it isnt.
+ * All of this is a problem only when login is suid, which it isn't.
*/
if (!cxt->tty_path || !*cxt->tty_path ||
lstat(cxt->tty_path, &st) != 0 || !S_ISCHR(st.st_mode) ||
@@ -1317,7 +1317,7 @@ int main(int argc, char **argv)
/*
* Authentication may be skipped (for example, during krlogin, rlogin,
* etc...), but it doesn't mean that we can skip other account checks.
- * The account could be disabled or password expired (althought
+ * The account could be disabled or password expired (although
* kerberos ticket is valid). -- kzak@redhat.com (22-Feb-2006)
*/
loginpam_acct(&cxt);