Skip to content

Commit

Permalink
placate -Werror=format-security (probably) (re: #768)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeromus committed Feb 1, 2024
1 parent f2cfd23 commit 6508c2b
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 6508c2b

Please sign in to comment.