diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2020-11-24 18:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-11-24 18:00:00 +0000 |
commit | 4d928200c2a1e90f1664e73f88b7fd4386158311 (patch) | |
tree | 7e3a86c7eabd987d73c69446870f6eb7603f1c90 /modules/pam_setquota | |
parent | 5a768e62f0734a7d5c9207ba2a84757d1f574b9d (diff) | |
download | pam-4d928200c2a1e90f1664e73f88b7fd4386158311.tar.gz pam-4d928200c2a1e90f1664e73f88b7fd4386158311.tar.bz2 pam-4d928200c2a1e90f1664e73f88b7fd4386158311.zip |
Fix various typos found using codespell tool
* modules/pam_limits/limits.conf: Replace "overriden" with "overridden".
* modules/pam_mkhomedir/mkhomedir_helper.c (create_homedir): Replace
"preseves" with "preserves".
* modules/pam_setquota/pam_setquota.8.xml: Replace "specifed" with
"specified".
* modules/pam_setquota/pam_setquota.c (pam_sm_open_session): Replace
"fileystem" with "filesystem", "conditons" with "conditions".
Diffstat (limited to 'modules/pam_setquota')
-rw-r--r-- | modules/pam_setquota/pam_setquota.8.xml | 2 | ||||
-rw-r--r-- | modules/pam_setquota/pam_setquota.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/pam_setquota/pam_setquota.8.xml b/modules/pam_setquota/pam_setquota.8.xml index bb878e8c..28447d33 100644 --- a/modules/pam_setquota/pam_setquota.8.xml +++ b/modules/pam_setquota/pam_setquota.8.xml @@ -210,7 +210,7 @@ <listitem> <para> No action was taken because either the UID of the user was outside - of the specifed range, a quota already existed and + of the specified range, a quota already existed and <option>overwrite=1</option> was not configured or no limits were configured at all. </para> diff --git a/modules/pam_setquota/pam_setquota.c b/modules/pam_setquota/pam_setquota.c index 01b05e38..ec45baac 100644 --- a/modules/pam_setquota/pam_setquota.c +++ b/modules/pam_setquota/pam_setquota.c @@ -288,7 +288,7 @@ pam_sm_open_session(pam_handle_t *pamh, int flags UNUSED, "with suffix=\"%s\" on device=\"%s\"", pwd->pw_dir, mnt->mnt_dir, s, mntdevice); } - /* param.fs has been specified, find exactly matching fileystem */ + /* param.fs has been specified, find exactly matching filesystem */ } else if ((strncmp(param.fs, mnt->mnt_dir, param.fs_len) == 0 && mnt->mnt_dir[param.fs_len] == '\0') || (strncmp(param.fs, mnt->mnt_fsname, param.fs_len) == 0 @@ -332,7 +332,7 @@ pam_sm_open_session(pam_handle_t *pamh, int flags UNUSED, /* Parse new limits * Exit with an error should only the hard- or softlimit be * configured but not both. - * This avoids errors, inconsistencies and possible race conditons + * This avoids errors, inconsistencies and possible race conditions * during setquota. */ ndqblk.dqb_valid = 0; |