aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Jones <thj@FreeBSD.org>2022-07-05 15:27:15 +0000
committerTom Jones <thj@FreeBSD.org>2022-07-05 15:27:15 +0000
commit1e692b938e37a9b43a43ace2739eb6b97379cac0 (patch)
tree8aa1fdc9dbdaac60cb450c7abbae4f1657707010
parentf058359ba5e08c555d7e6f192217f890b83cd46c (diff)
downloadsrc-1e692b938e37a9b43a43ace2739eb6b97379cac0.tar.gz
src-1e692b938e37a9b43a43ace2739eb6b97379cac0.zip
xargs: fix description of strnsubst return value
Reported by: oshogbo Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D35574
-rw-r--r--usr.bin/xargs/strnsubst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/xargs/strnsubst.c b/usr.bin/xargs/strnsubst.c
index 1fa35d453f49..4a2ecd5aa9a8 100644
--- a/usr.bin/xargs/strnsubst.c
+++ b/usr.bin/xargs/strnsubst.c
@@ -28,7 +28,7 @@ bool strnsubst(char **, const char *, const char *, size_t);
* If replstr is NULL, then that internally is changed to a nil-string, so
* that we can still pretend to do somewhat meaningful substitution.
*
- * Returns true if truncation was needed to do the replacement, true if
+ * Returns true if truncation was needed to do the replacement, false if
* truncation was not required.
*/
bool