summaryrefslogtreecommitdiffstats
path: root/src/CLI
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2010-03-01 15:07:10 +0100
committerNikola Pajkovsky <npajkovs@redhat.com>2010-03-02 11:13:05 +0100
commitcdc22d33286de76920804bdebc459500267c2beb (patch)
tree3ca8e5bb162b97d8bde25bc1cce770f315e16a0f /src/CLI
parent7533baf4751cc405fdcce2122d7b0e3c1193f2b6 (diff)
downloadabrt-cdc22d33286de76920804bdebc459500267c2beb.tar.gz
abrt-cdc22d33286de76920804bdebc459500267c2beb.tar.xz
abrt-cdc22d33286de76920804bdebc459500267c2beb.zip
fix format security error
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
Diffstat (limited to 'src/CLI')
-rw-r--r--src/CLI/report.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CLI/report.cpp b/src/CLI/report.cpp
index 7f79fbea..41ac6c2c 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.