git: 1e692b938e37 - main - xargs: fix description of strnsubst return value
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Jul 2022 15:30:01 UTC
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