diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2020-03-28 18:19:41 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-03-28 18:19:41 +0000 |
commit | 897c7412b26ca618af6822dcaa7e6be68772dc52 (patch) | |
tree | abad115d8ebf3bf901361994242a8a3276648435 /modules/pam_tally | |
parent | ca51775485e303d79ec4ad7a00e764807daebc29 (diff) |
Fix various typos found using codespell tool
Diffstat (limited to 'modules/pam_tally')
-rw-r--r-- | modules/pam_tally/faillog.h | 4 | ||||
-rw-r--r-- | modules/pam_tally/pam_tally.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/pam_tally/faillog.h b/modules/pam_tally/faillog.h index 7f704713..90756394 100644 --- a/modules/pam_tally/faillog.h +++ b/modules/pam_tally/faillog.h @@ -43,8 +43,8 @@ struct faillog { short fail_cnt; /* failures since last success */ short fail_max; /* failures before turning account off */ - char fail_line[12]; /* last failure occured here */ - time_t fail_time; /* last failure occured then */ + char fail_line[12]; /* last failure occurred here */ + time_t fail_time; /* last failure occurred then */ /* * If nonzero, the account will be re-enabled if there are no * failures for fail_locktime seconds since last failure. diff --git a/modules/pam_tally/pam_tally.c b/modules/pam_tally/pam_tally.c index cc221b87..6f578988 100644 --- a/modules/pam_tally/pam_tally.c +++ b/modules/pam_tally/pam_tally.c @@ -694,7 +694,7 @@ pam_sm_setcred(pam_handle_t *pamh, int flags, #ifdef PAM_SM_ACCOUNT -/* To reset failcount of user on successfull login */ +/* To reset failcount of user on successful login */ int pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, |