logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git/
commit: 733bb729d7a1e8a1a3241c229eac704ee27a7724
parent 76fc87fe150c9d2c9aa2a4a3dea29891ceb32bd3
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 28 Jan 2025 15:51:07 +0100

cmd/printf: surround illegal format character in quotes

Diffstat:

Mcmd/printf.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/printf.c b/cmd/printf.c @@ -457,7 +457,7 @@ printf_doformat(char *fmt, int *rval) break; } default: - utils_warnx("illegal format character %c", convch); + utils_warnx("illegal format character '%c'", convch); return (NULL); } *fmt = nextch;