1From 400b8f235377f677a7a760f1e3a1cd26d95140bc Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Fri, 16 Jun 2017 22:58:18 -0700 4Subject: [PATCH] Add printf format and silence format-security warnings 5 6Fix 7 8vconfig.c:66:4: error: format not a string literal and no format arguments [-Werror=format-security] 9 fprintf(stdout,usage); 10 ^~~~~~~ 11 12Upstream-Status: Pending 13 14Signed-off-by: Khem Raj <raj.khem@gmail.com> 15--- 16 vconfig.c | 2 +- 17 1 file changed, 1 insertion(+), 1 deletion(-) 18 19diff --git a/vconfig.c b/vconfig.c 20index 5057cfd..83137ba 100644 21--- a/vconfig.c 22+++ b/vconfig.c 23@@ -63,7 +63,7 @@ static char* usage = 24 " is OFF.\n"; 25 26 void show_usage() { 27- fprintf(stdout,usage); 28+ fprintf(stdout, "%s", usage); 29 } 30 31 int hex_to_bytes(char* bytes, int bytes_length, char* hex_str) { 32-- 332.13.1 34 35