summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/KerneloopsReporter.cpp
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2009-12-07 12:28:16 +0100
committerKarel Klic <kklic@redhat.com>2009-12-07 12:28:16 +0100
commit9c20953d95a20d031896245f98a62f1e89d29c33 (patch)
tree3f808a5be51cbe59e8c5947aeef743575c8cb6e4 /lib/Plugins/KerneloopsReporter.cpp
parentc7341fd8519a89af558b341f316931d851a747fc (diff)
parentfb72ac689ca4832fca215edc942ae01592ecfff8 (diff)
downloadabrt-9c20953d95a20d031896245f98a62f1e89d29c33.tar.gz
abrt-9c20953d95a20d031896245f98a62f1e89d29c33.tar.xz
abrt-9c20953d95a20d031896245f98a62f1e89d29c33.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib/Plugins/KerneloopsReporter.cpp')
-rw-r--r--lib/Plugins/KerneloopsReporter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Plugins/KerneloopsReporter.cpp b/lib/Plugins/KerneloopsReporter.cpp
index a1fd3f1..29094e8 100644
--- a/lib/Plugins/KerneloopsReporter.cpp
+++ b/lib/Plugins/KerneloopsReporter.cpp
@@ -95,7 +95,7 @@ CKerneloopsReporter::CKerneloopsReporter() :
std::string CKerneloopsReporter::Report(const map_crash_report_t& pCrashReport,
const map_plugin_settings_t& pSettings,
- const std::string& pArgs)
+ const char *pArgs)
{
int ret = -1;
@@ -111,7 +111,7 @@ std::string CKerneloopsReporter::Report(const map_crash_report_t& pCrashReport,
if (ret) {
/* FIXME: be more informative */
- throw CABRTException(EXCEP_PLUGIN, std::string("CKerneloopsReporter::Report(): Report has not been sent..."));
+ throw CABRTException(EXCEP_PLUGIN, "CKerneloopsReporter::Report(): Report has not been sent");
}
return "Kernel oops report was uploaded.";
}