From 1e692b938e37a9b43a43ace2739eb6b97379cac0 Mon Sep 17 00:00:00 2001 From: Tom Jones Date: Tue, 5 Jul 2022 16:27:15 +0100 Subject: [PATCH] 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