From cdc22d33286de76920804bdebc459500267c2beb Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Mon, 1 Mar 2010 15:07:10 +0100 Subject: fix format security error Signed-off-by: Nikola Pajkovsky --- src/CLI/report.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CLI/report.cpp') diff --git a/src/CLI/report.cpp b/src/CLI/report.cpp index 7f79fbe..41ac6c2 100644 --- a/src/CLI/report.cpp +++ b/src/CLI/report.cpp @@ -426,7 +426,7 @@ static int run_report_editor(map_crash_data_t &cr) */ static void read_from_stdin(const char *question, char *result, int result_size) { - printf(question); + printf("%s", question); fflush(NULL); fgets(result, result_size, stdin); // Remove the newline from the login. -- cgit