git: 9eea81e59641 - stable/13 - usr.bin/stat: Fix error message formatting.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Feb 2023 07:25:18 UTC
The branch stable/13 has been updated by delphij: URL: https://cgit.FreeBSD.org/src/commit/?id=9eea81e59641df1a5a45dbe06628081bc4bb7bad commit 9eea81e59641df1a5a45dbe06628081bc4bb7bad Author: Jamie Landeg-Jones <jamie@catflap.org> AuthorDate: 2023-01-29 22:37:25 +0000 Commit: Xin LI <delphij@FreeBSD.org> CommitDate: 2023-02-01 07:24:52 +0000 usr.bin/stat: Fix error message formatting. PR: bin/261657 (cherry picked from commit 37399d5bcf67c6d68e30a34ce2df30e0964d46d9) --- 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 9d94399a6333..8229e742da87 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);