From 2ebe83c4d51d1ccf0f6087c0d3c477c322f93ac6 Mon Sep 17 00:00:00 2001 From: elsid Date: Sun, 28 Jul 2024 20:07:18 +0200 Subject: [PATCH] Use proper order for printf arguments --- components/crashcatcher/crashcatcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/crashcatcher/crashcatcher.cpp b/components/crashcatcher/crashcatcher.cpp index 009029ef19..cf93a605bd 100644 --- a/components/crashcatcher/crashcatcher.cpp +++ b/components/crashcatcher/crashcatcher.cpp @@ -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"