]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
su: Fix typos in comment
authorTobias Stoeckmann <tobias@stoeckmann.org>
Fri, 9 Jan 2026 16:19:57 +0000 (17:19 +0100)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Sun, 11 Jan 2026 14:46:59 +0000 (15:46 +0100)
Reviewed-by: Alejandro Colomar <alx@kernel.org>
Reviewed-by: Ruihan Li <lrh2000@pku.edu.cn>
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
src/su.c

index 583979c20f80b0a2abba0f9818f969831d14efc8..e5ee844280f0a1d37880882d2783e6d87dd6ad69 100644 (file)
--- a/src/su.c
+++ b/src/su.c
@@ -368,7 +368,7 @@ static void prepare_pam_close_session (void)
                            && (EINTR == errno)
                            && (SIGTSTP == caught)) {
                                caught = 0;
-                               /* Except for SIGTSTP, which request to
+                               /* Except for SIGTSTP, which requests to
                                 * stop the child.
                                 * We will SIGSTOP ourself on the next
                                 * waitpid round.
@@ -404,7 +404,7 @@ static void prepare_pam_close_session (void)
                if (sigprocmask (SIG_BLOCK, &ourset, NULL) != 0) {
                        fprintf (stderr, _("%s: signal masking malfunction\n"), Prog);
                        kill_child (0);
-                       /* Never reach (_exit called). */
+                       /* Never reached (_exit called). */
                }
 
                /* Send SIGKILL to the child if it doesn't