diff mbox series

ltp-pan.1/parse_ranges.3: fix typo

Message ID 1694770506-9455-1-git-send-email-xuyang2018.jy@fujitsu.com
State Accepted
Headers show
Series ltp-pan.1/parse_ranges.3: fix typo | expand

Commit Message

Yang Xu \(Fujitsu\) Sept. 15, 2023, 9:35 a.m. UTC
Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
---
 doc/man1/ltp-pan.1      | 2 +-
 doc/man3/parse_ranges.3 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Petr Vorel Sept. 15, 2023, 11:28 a.m. UTC | #1
Hi Xu,

hopefully ltp-pan will be removed and runltp-ng/kirk adopted sooner than later
[1], but we're not there yet, thus I dared to merge this and merge commit which
fixes more double the typos.

Thanks!
Petr

[1] https://patchwork.ozlabs.org/project/ltp/patch/20230915091547.26270-1-andrea.cervesato@suse.de/
diff mbox series

Patch

diff --git a/doc/man1/ltp-pan.1 b/doc/man1/ltp-pan.1
index 3f6ddb925..5ffa57dba 100644
--- a/doc/man1/ltp-pan.1
+++ b/doc/man1/ltp-pan.1
@@ -161,7 +161,7 @@  signal is SIGUSR1 then ltp-pan will behave as if \fI-y\fP had not been specified
 
 .SH EXAMPLES
 
-In practice, the ZOO environment variable is generally prefered over the
+In practice, the ZOO environment variable is generally preferred over the
 \fI-a\fP option.  All examples assume this is being set.
 
 The following creates a ltp-pan named "ex1" with an active file in /tmp/active.
diff --git a/doc/man3/parse_ranges.3 b/doc/man3/parse_ranges.3
index 93bb412e3..d92e001f1 100644
--- a/doc/man3/parse_ranges.3
+++ b/doc/man3/parse_ranges.3
@@ -95,7 +95,7 @@  The function should return -1 if str cannot be parsed
 into an integer, or >= 0 if it was successfully
 parsed.  The resulting integer will be stored in
 *val.  If parse_func is NULL, parse_ranges will parse
-the tokens in a manner consistent with the the sscanf %i format.
+the tokens in a manner consistent with the sscanf %i format.
 .TP 1i
 \fIrange_ptr\fP
 A user-supplied char **, which will be set to point