aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_setquota/pam_setquota.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-11-24 18:00:00 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-11-24 18:00:00 +0000
commit4d928200c2a1e90f1664e73f88b7fd4386158311 (patch)
tree7e3a86c7eabd987d73c69446870f6eb7603f1c90 /modules/pam_setquota/pam_setquota.c
parent5a768e62f0734a7d5c9207ba2a84757d1f574b9d (diff)
downloadpam-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/pam_setquota.c')
-rw-r--r--modules/pam_setquota/pam_setquota.c4
1 files changed, 2 insertions, 2 deletions
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;