summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Firefox.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-12-06 22:23:11 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-12-06 22:23:11 +0100
commit4ceb3715a3a6b752009627b0dc6a1974664c03a1 (patch)
tree8c96d097e7e63f905925419a8a65c814d407605f /lib/Plugins/Firefox.cpp
parentf66aa07338bbc8a8a80264ec5be3ae25b677d94a (diff)
downloadabrt-4ceb3715a3a6b752009627b0dc6a1974664c03a1.tar.gz
abrt-4ceb3715a3a6b752009627b0dc6a1974664c03a1.tar.xz
abrt-4ceb3715a3a6b752009627b0dc6a1974664c03a1.zip
remove std::string usage from class CABRTException.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins/Firefox.cpp')
-rw-r--r--lib/Plugins/Firefox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Plugins/Firefox.cpp b/lib/Plugins/Firefox.cpp
index 68dbd39..2a35dc1 100644
--- a/lib/Plugins/Firefox.cpp
+++ b/lib/Plugins/Firefox.cpp
@@ -100,7 +100,7 @@ static pid_t ExecVP(char** pArgs, uid_t uid, std::string& pOutput)
struct passwd* pw = getpwuid(uid);
if (!pw)
{
- throw CABRTException(EXCEP_PLUGIN, std::string(__func__) + ": cannot get GID for UID.");
+ throw CABRTException(EXCEP_PLUGIN, "%s: can't get GID for UID", __func__);
}
xpipe(pipeout);
@@ -662,7 +662,7 @@ Another application is holding the yum lock, cannot continue
fclose(pipeout_fp);
kill(child, SIGTERM);
wait(NULL);
- throw CABRTException(EXCEP_PLUGIN, std::string(__func__) + ": cannot install debuginfos for " + pPackage);
+ throw CABRTException(EXCEP_PLUGIN, "%s: can't install debuginfos for %s", __func__, pPackage);
}
#endif
}