tags 646467 patch
thanks
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
From: Wolfram Sang <w.sang@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.sang@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
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Replies