Skip to content

Commit

Permalink
placate -Werror=format-security (probably) (re: TASEmulators#768)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeromus authored and getItemFromBlock committed Feb 28, 2024
1 parent f2850b9 commit ba50771
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions desmume/src/commandline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ bool CommandLine::parse(int argc,char **argv)

if(opt_help)
{
printf(help_string);
printf("%s",help_string);
exit(1);
}

Expand Down Expand Up @@ -571,7 +571,7 @@ bool CommandLine::validate()

void CommandLine::errorHelp(const char* binName)
{
printerror(help_string);
printerror("%s",help_string);
}

void CommandLine::process_movieCommands()
Expand Down

0 comments on commit ba50771

Please sign in to comment.