[LTP] [PATCH] ltp-pan.1/parse_ranges.3: fix typo

Yang Xu xuyang2018.jy@fujitsu.com
Fri Sep 15 11:35:06 CEST 2023


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(-)

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
-- 
2.39.1



More information about the ltp mailing list