summaryrefslogtreecommitdiff
path: root/modules/pam_lastlog/pam_lastlog.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-03-28 18:19:41 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-03-28 18:19:41 +0000
commit897c7412b26ca618af6822dcaa7e6be68772dc52 (patch)
treeabad115d8ebf3bf901361994242a8a3276648435 /modules/pam_lastlog/pam_lastlog.c
parentca51775485e303d79ec4ad7a00e764807daebc29 (diff)
Fix various typos found using codespell tool
Diffstat (limited to 'modules/pam_lastlog/pam_lastlog.c')
-rw-r--r--modules/pam_lastlog/pam_lastlog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/pam_lastlog/pam_lastlog.c b/modules/pam_lastlog/pam_lastlog.c
index 2edac5bf..1f707d93 100644
--- a/modules/pam_lastlog/pam_lastlog.c
+++ b/modules/pam_lastlog/pam_lastlog.c
@@ -104,7 +104,7 @@ _pam_auth_parse(pam_handle_t *pamh, int flags, int argc, const char **argv,
*inactive = DEFAULT_INACTIVE_DAYS;
- /* does the appliction require quiet? */
+ /* does the application require quiet? */
if (flags & PAM_SILENT) {
ctrl |= LASTLOG_QUIET;
}
@@ -170,7 +170,7 @@ _pam_session_parse(pam_handle_t *pamh, int flags, int argc, const char **argv)
}
}
- /* does the appliction require quiet? */
+ /* does the application require quiet? */
if (flags & PAM_SILENT) {
ctrl |= LASTLOG_QUIET;
ctrl &= ~LASTLOG_BTMP;
@@ -449,7 +449,7 @@ last_login_write(pam_handle_t *pamh, int announce, int last_fd,
*/
D(("setting limit for 'fsize'"));
- if ((announce & LASTLOG_UNLIMITED) == 0) { /* don't set to unlimted */
+ if ((announce & LASTLOG_UNLIMITED) == 0) { /* don't set to unlimited */
setrlimit_res = -1;
} else if (getrlimit(RLIMIT_FSIZE, &old_limit) == 0) {
if (old_limit.rlim_cur == RLIM_INFINITY) { /* already unlimited */