summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Logger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Plugins/Logger.cpp')
-rw-r--r--lib/Plugins/Logger.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Plugins/Logger.cpp b/lib/Plugins/Logger.cpp
index 9f261a38..35f042c7 100644
--- a/lib/Plugins/Logger.cpp
+++ b/lib/Plugins/Logger.cpp
@@ -60,7 +60,8 @@ void CLogger::SetSettings(const map_plugin_settings_t& pSettings)
//}
std::string CLogger::Report(const map_crash_report_t& pCrashReport,
- const map_plugin_settings_t& pSettings, const std::string& pArgs)
+ const map_plugin_settings_t& pSettings,
+ const char *pArgs)
{
update_client(_("Creating a report..."));
@@ -84,7 +85,7 @@ std::string CLogger::Report(const map_crash_report_t& pCrashReport,
return "file://" + m_sLogPath;
}
- throw CABRTException(EXCEP_PLUGIN, "Can't open file '%s'", m_sLogPath);
+ throw CABRTException(EXCEP_PLUGIN, "Can't open file '%s'", m_sLogPath.c_str());
}
PLUGIN_INFO(REPORTER,