aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_limits/pam_limits.c
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@stoeckmann.org>2023-12-06 22:48:34 +0100
committerDmitry V. Levin <ldv@strace.io>2023-12-18 09:10:08 +0000
commit0fb2978d0e139dc57878d5c82d6eae79273e2031 (patch)
treea6bcd89e4d82815b8b0767fb2b823283eced379e /modules/pam_limits/pam_limits.c
parent04134cc04a6c36acd52aa92c955ae0eba72fd038 (diff)
downloadpam-0fb2978d0e139dc57878d5c82d6eae79273e2031.tar.gz
pam-0fb2978d0e139dc57878d5c82d6eae79273e2031.tar.bz2
pam-0fb2978d0e139dc57878d5c82d6eae79273e2031.zip
treewide: fix typos in comments and documentation
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'modules/pam_limits/pam_limits.c')
-rw-r--r--modules/pam_limits/pam_limits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_limits/pam_limits.c b/modules/pam_limits/pam_limits.c
index fc541330..53e2e8f2 100644
--- a/modules/pam_limits/pam_limits.c
+++ b/modules/pam_limits/pam_limits.c
@@ -914,7 +914,7 @@ parse_config_file(pam_handle_t *pamh, const char *uname, uid_t uid, gid_t gid,
for(j=0; j < strlen(value); j++)
value[j]=tolower((unsigned char)value[j]);
- if (strcmp(uname, domain) == 0) /* this user have a limit */
+ if (strcmp(uname, domain) == 0) /* this user has a limit */
process_limit(pamh, LIMITS_DEF_USER, ltype, item, value, ctrl, pl);
else if (domain[0]=='@') {
if (ctrl & PAM_DEBUG_ARG) {