The branch main has been updated by delphij: URL: https://cgit.FreeBSD.org/src/commit/?id=37399d5bcf67c6d68e30a34ce2df30e0964d46d9
commit 37399d5bcf67c6d68e30a34ce2df30e0964d46d9 Author: Jamie Landeg-Jones <[email protected]> AuthorDate: 2023-01-29 22:37:25 +0000 Commit: Xin LI <[email protected]> CommitDate: 2023-01-29 22:37:25 +0000 usr.bin/stat: Fix error message formatting. PR: bin/261657 MFC after: 3 days --- usr.bin/stat/stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/stat/stat.c b/usr.bin/stat/stat.c index dca7363f4fcc..0033ff2258a6 100644 --- a/usr.bin/stat/stat.c +++ b/usr.bin/stat/stat.c @@ -373,7 +373,7 @@ main(int argc, char *argv[]) errs = 1; linkfail = 1; if (!quiet) - warn("%s: stat", file); + warn("%s", file); } else output(&st, file, statfmt, fn, nonl);
