Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jul 2022 15:30:01 GMT
From:      Tom Jones <thj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 1e692b938e37 - main - xargs: fix description of strnsubst return value
Message-ID:  <202207051530.265FU1u5099294@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by thj:

URL: https://cgit.FreeBSD.org/src/commit/?id=1e692b938e37a9b43a43ace2739eb6b97379cac0

commit 1e692b938e37a9b43a43ace2739eb6b97379cac0
Author:     Tom Jones <thj@FreeBSD.org>
AuthorDate: 2022-07-05 15:27:15 +0000
Commit:     Tom Jones <thj@FreeBSD.org>
CommitDate: 2022-07-05 15:27:15 +0000

    xargs: fix description of strnsubst return value
    
    Reported by:    oshogbo
    Sponsored by:   Klara, Inc.
    Differential Revision:  https://reviews.freebsd.org/D35574
---
 usr.bin/xargs/strnsubst.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207051530.265FU1u5099294>