Fix gcc warning 'format not a string literal and no format arguments'
PATCH 1/1 Fix gcc warning 'format not a string literal and no format arguments'
gcc 4.4.1 produce a warning 'format not a string literal and no format arguments'
Signed-off-by Shahar Havivi <[email protected]>
--- qemu-error.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
qemu-error.c +1 -1
@@ -188,7 +188,7 @@ void error_print_loc(void)error_printf (" " );break ;default : -error_printf (sep); +error_printf ("%s" , sep); } }
Signature · 1 line
1.6.3.3
Quoted 13 lines · Shahar Havivi
gcc 4.4.1 produce a warning 'format not a string literal and no format arguments'
Signed-off-by Shahar Havivi <[email protected]>--- qemu-error.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)qemu-error.c +0
-0
qemu-error.c void error_print_loc(void) · line 193
Quoted 7 lines
qemu-error.c +1
-1@@ -188,7 +188,7 @@ void error_print_loc(void)error_printf (" " );break ;default : -error_printf (sep); +error_printf ("%s" , sep); } }
Fair enough.