From 04134cc04a6c36acd52aa92c955ae0eba72fd038 Mon Sep 17 00:00:00 2001 From: Tobias Stoeckmann Date: Tue, 5 Dec 2023 23:20:46 +0100 Subject: treewide: fix typos Typos found with codespell Signed-off-by: Tobias Stoeckmann --- libpamc/pamc_load.c | 2 +- libpamc/test/agents/secret@here | 2 +- libpamc/test/modules/pam_secret.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libpamc') diff --git a/libpamc/pamc_load.c b/libpamc/pamc_load.c index c1a39f5b..cbf4b994 100644 --- a/libpamc/pamc_load.c +++ b/libpamc/pamc_load.c @@ -247,7 +247,7 @@ int pamc_load(pamc_handle_t pch, const char *agent_id) pamc_agent_t *agent; size_t length; - /* santity checking */ + /* sanity checking */ if (pch == NULL) { D(("pch is NULL")); diff --git a/libpamc/test/agents/secret@here b/libpamc/test/agents/secret@here index 8d82c013..2bef6474 100755 --- a/libpamc/test/agents/secret@here +++ b/libpamc/test/agents/secret@here @@ -83,7 +83,7 @@ sub HandleAgentSelection ($) { return (0x04, ""); } - # the selection request is acompanied with a hexadecimal cookie + # the selection request is accompanied with a hexadecimal cookie my @tokens = split '\|', $payload; unless ((scalar @tokens) == 2) { diff --git a/libpamc/test/modules/pam_secret.c b/libpamc/test/modules/pam_secret.c index c4b32ae9..2fe7066c 100644 --- a/libpamc/test/modules/pam_secret.c +++ b/libpamc/test/modules/pam_secret.c @@ -378,7 +378,7 @@ static int auth_sequence(pam_handle_t *pamh, /* expect to receive the following {|} */ if (new->current_reply == NULL) { - D(("converstation returned [%s] but gave no reply", + D(("conversation returned [%s] but gave no reply", pam_strerror(pamh, retval))); new->state = PS_STATE_DEAD; return PAM_CONV_ERR; -- cgit v1.2.3