summaryrefslogtreecommitdiff
path: root/modules/pam_keyinit
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-03-28 18:19:41 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-03-28 18:19:41 +0000
commit897c7412b26ca618af6822dcaa7e6be68772dc52 (patch)
treeabad115d8ebf3bf901361994242a8a3276648435 /modules/pam_keyinit
parentca51775485e303d79ec4ad7a00e764807daebc29 (diff)
Fix various typos found using codespell tool
Diffstat (limited to 'modules/pam_keyinit')
-rw-r--r--modules/pam_keyinit/pam_keyinit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/pam_keyinit/pam_keyinit.c b/modules/pam_keyinit/pam_keyinit.c
index 611c06dc..d58744d7 100644
--- a/modules/pam_keyinit/pam_keyinit.c
+++ b/modules/pam_keyinit/pam_keyinit.c
@@ -155,7 +155,7 @@ static int kill_keyrings(pam_handle_t *pamh, int error_ret)
ret = error_ret;
}
- /* return to the orignal UID and GID (probably root) */
+ /* return to the original UID and GID (probably root) */
if (revoke_as_uid != old_uid && setreuid(-1, old_uid) < 0) {
error(pamh, "Unable to change UID back to %d\n", old_uid);
ret = error_ret;
@@ -227,7 +227,7 @@ static int do_keyinit(pam_handle_t *pamh, int argc, const char **argv, int error
ret = init_keyrings(pamh, force, error_ret);
- /* return to the orignal UID and GID (probably root) */
+ /* return to the original UID and GID (probably root) */
if (uid != old_uid && setreuid(old_uid, -1) < 0) {
error(pamh, "Unable to change UID back to %d\n", old_uid);
ret = error_ret;