1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-28 00:15:06 +00:00

Use proper order for printf arguments

This commit is contained in:
elsid 2024-07-28 20:07:18 +02:00
parent fc2f30dc4a
commit 2ebe83c4d5
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

View File

@ -202,7 +202,7 @@ namespace
"\nFailed to create a crash report: %s.\n" "\nFailed to create a crash report: %s.\n"
"Please make sure that '%s' is installed and present in PATH then crash again.\n" "Please make sure that '%s' is installed and present in PATH then crash again.\n"
"Current PATH: %s\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) else if (ret != 0)
printf( printf(
"\nFailed to create a crash report.\n" "\nFailed to create a crash report.\n"