From 3ce692553936bc3c3558bb7e6456cdc7b11943f8 Mon Sep 17 00:00:00 2001 From: Avinash Kumar Date: Mon, 17 Oct 2016 16:41:28 -0700 Subject: [PATCH] @3641687 Make Travis-CI happy --- PrintProfilesAndExit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PrintProfilesAndExit.cpp b/PrintProfilesAndExit.cpp index 4561fd47..bd592647 100644 --- a/PrintProfilesAndExit.cpp +++ b/PrintProfilesAndExit.cpp @@ -30,7 +30,7 @@ void print_profiles::set_print_profiles(const char* name) { if (!print_profiles_fp) { const char* text = "Error: EOS_PRINT_PROFILES_AND_EXIT must be a writtable file\n"; - fprintf(stderr, text); + fprintf(stderr, "%s", text); exit(1); // r+2 because of warnings: discarded fprintf rcode + unused var } eossdk_progname = name; @@ -60,7 +60,7 @@ void print_profiles::write_profiles() { } else { const char* text = "Warning: couldn't figure out agent name, edit 'TBD' in profile\n"; - fprintf(stderr, text); + fprintf(stderr, "%s", text); fprintf(print_profiles_fp, "agentName:!!!TBD!!!\n"); } }