Commit c52be774 authored by Victor Konyashkin's avatar Victor Konyashkin Committed by Pavel Emelyanov

zdtm: It's need add format to fprintf

It's need add format to fprintf to avoid following error in Ubuntu 12.04:
msg.c:59:2: error: format not a string literal and no format arguments [-Werror=format-security]
Signed-off-by: 's avatarVictor Konyashkin  <vkonyashkin@parallels.com>
Acked-by: 's avatarAndrey Vagin <avagin@openvz.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent d33d2290
......@@ -56,5 +56,5 @@ void test_msg(const char *format, ...)
off += vsnprintf(buf + off, sizeof(buf) - off, format, arg);
va_end(arg);
fprintf(stderr, buf);
fprintf(stderr, "%s", buf);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment