Skip to content

Commit

Permalink
@3641687 Make Travis-CI happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Avinash Kumar committed Oct 20, 2016
1 parent 98cff39 commit 3ce6925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PrintProfilesAndExit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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");
}
}
Expand Down

0 comments on commit 3ce6925

Please sign in to comment.