]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lib/pager: Fix typos
authorTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 20 Jan 2026 16:34:37 +0000 (17:34 +0100)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 20 Jan 2026 16:46:22 +0000 (17:46 +0100)
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
lib/pager.c

index 5cafc1e0815bda3bc9b90f711569a415ef944df6..9cbf6383f5ea5b27bb97aae5a7770b3a73020497 100644 (file)
@@ -209,7 +209,7 @@ static void __setup_pager(void)
        sigaction(SIGPIPE, &sa, &pager_process.orig_sigpipe);
 }
 
-/* Setup pager and redirects output to the $PAGER. The pager is closed at exit.
+/* Setup pager and redirect output to the $PAGER. The pager is closed at exit.
  */
 void pager_redirect(void)
 {
@@ -250,7 +250,7 @@ void pager_close(void)
        close(pager_process.org_out);
        close(pager_process.org_err);
 
-       /* restore original segnals setting */
+       /* restore original signal settings */
        sigaction(SIGINT,  &pager_process.orig_sigint, NULL);
        sigaction(SIGHUP,  &pager_process.orig_sighup, NULL);
        sigaction(SIGTERM, &pager_process.orig_sigterm, NULL);