aboutsummaryrefslogtreecommitdiff
path: root/libpam
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 /libpam
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 'libpam')
-rw-r--r--libpam/pam_delay.c2
-rw-r--r--libpam/pam_dispatch.c2
-rw-r--r--libpam/pam_password.c2
-rw-r--r--libpam/pam_private.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/libpam/pam_delay.c b/libpam/pam_delay.c
index b6a962d0..b8fddbb6 100644
--- a/libpam/pam_delay.c
+++ b/libpam/pam_delay.c
@@ -19,7 +19,7 @@
/* **********************************************************************
* initialize the time as unset, this is set on the return from the
- * authenticating pair of of the libpam pam_XXX calls.
+ * authenticating pair of the libpam pam_XXX calls.
*/
void _pam_reset_timer(pam_handle_t *pamh)
diff --git a/libpam/pam_dispatch.c b/libpam/pam_dispatch.c
index 31a28be3..ca78a10f 100644
--- a/libpam/pam_dispatch.c
+++ b/libpam/pam_dispatch.c
@@ -299,7 +299,7 @@ static int _pam_dispatch_aux(pam_handle_t *pamh, int flags, struct handler *h,
}
continue;
-decision_made: /* by getting here we have made a decision */
+decision_made: /* by getting here we have made a decision */
while (h->next != NULL && h->next->stack_level >= stack_level) {
h = h->next;
++depth;
diff --git a/libpam/pam_password.c b/libpam/pam_password.c
index 5bda547b..9783dbe0 100644
--- a/libpam/pam_password.c
+++ b/libpam/pam_password.c
@@ -22,7 +22,7 @@ int pam_chauthtok(pam_handle_t *pamh, int flags)
return PAM_SYSTEM_ERR;
}
- /* applications are not allowed to set this flags */
+ /* applications are not allowed to set these flags */
if (flags & (PAM_PRELIM_CHECK | PAM_UPDATE_AUTHTOK)) {
pam_syslog (pamh, LOG_ERR,
"PAM_PRELIM_CHECK or PAM_UPDATE_AUTHTOK set by application");
diff --git a/libpam/pam_private.h b/libpam/pam_private.h
index da268bdf..8069b61c 100644
--- a/libpam/pam_private.h
+++ b/libpam/pam_private.h
@@ -255,7 +255,7 @@ const char *_pam_dlerror (void);
/* For now we just use a stack and linear search for module data. */
/* If it becomes apparent that there is a lot of data, it should */
-/* changed to either a sorted list or a hash table. */
+/* be changed to either a sorted list or a hash table. */
struct pam_data {
char *name;