tags 646467 patch thanks -- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ |
From: Wolfram Sang <w.s...@pengutronix.de> Subject: fix '-Werror=format-security' flaw
We won't have format specifiers, so simply use fputs. This patch applies to the current debian version and upstream master as well (with offset). Signed-off-by: Wolfram Sang <w.s...@pengutronix.de> --- debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: src/debug.c =================================================================== --- a/src/debug.c +++ b/src/debug.c @@ -28,7 +28,7 @@ void print_message_to_stderr(const char va_start(va, fmt); vsnprintf(msg, PATH_MAX, fmt, va); va_end(va); - fprintf(stderr, msg); + fputs(msg, stderr); } #ifdef DEBUG
signature.asc
Description: Digital signature