Skip to content

Commit

Permalink
Use proper order for printf arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
elsid committed Jul 28, 2024
1 parent fc2f30d commit 2ebe83c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/crashcatcher/crashcatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ namespace
"\nFailed to create a crash report: %s.\n"
"Please make sure that '%s' is installed and present in PATH then crash again.\n"
"Current PATH: %s\n",
T::sName, std::generic_category().message(errno).c_str(), getenv("PATH"));
std::generic_category().message(errno).c_str(), T::sName, getenv("PATH"));
else if (ret != 0)
printf(
"\nFailed to create a crash report.\n"
Expand Down

0 comments on commit 2ebe83c

Please sign in to comment.