diff options
author | Jamie Landeg-Jones <jamie@catflap.org> | 2023-01-29 22:37:25 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2023-02-01 07:25:36 +0000 |
commit | b2ffd03bbb3e9cfb0cb9a6995a0e23351d2004fb (patch) | |
tree | f286312dd92d0eaf9cfbc118b50539a6ab42ecb2 | |
parent | 46f35ff24f4b0b17f2174bd66b039d146e32c794 (diff) | |
download | src-b2ffd03bbb3e9cfb0cb9a6995a0e23351d2004fb.tar.gz src-b2ffd03bbb3e9cfb0cb9a6995a0e23351d2004fb.zip |
usr.bin/stat: Fix error message formatting.
PR: bin/261657
(cherry picked from commit 37399d5bcf67c6d68e30a34ce2df30e0964d46d9)
-rw-r--r-- | usr.bin/stat/stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/stat/stat.c b/usr.bin/stat/stat.c index 0b63a4067caf..e73f62362281 100644 --- a/usr.bin/stat/stat.c +++ b/usr.bin/stat/stat.c @@ -371,7 +371,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); |