From 8fc9d92e320582d29b75531db2a8f720861018d3 Mon Sep 17 00:00:00 2001 From: Oliver Kiehl Date: Fri, 19 Sep 2003 21:36:27 +0000 Subject: cleanup svn-id: r10320 --- base/plugins.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/base/plugins.cpp b/base/plugins.cpp index 7887b2663a..e963913a5a 100644 --- a/base/plugins.cpp +++ b/base/plugins.cpp @@ -157,7 +157,7 @@ void *DynamicPlugin::findSymbol(const char *symbol) { #ifdef UNIX void *func = dlsym(_dlHandle, symbol); if (!func) - warning("Failed loading symbold '%s' from plugin '%s' (%s)\n", symbol, _filename.c_str(), dlerror()); + warning("Failed loading symbold '%s' from plugin '%s' (%s)", symbol, _filename.c_str(), dlerror()); return func; #else #error TODO @@ -172,7 +172,7 @@ bool DynamicPlugin::loadPlugin() { _dlHandle = dlopen(_filename.c_str(), RTLD_LAZY); if (!_dlHandle) { - warning("Failed loading plugin '%s' (%s)\n", _filename.c_str(), dlerror()); + warning("Failed loading plugin '%s' (%s)", _filename.c_str(), dlerror()); return false; } @@ -205,7 +205,7 @@ bool DynamicPlugin::loadPlugin() { void DynamicPlugin::unloadPlugin() { if (_dlHandle) { if (dlclose(_dlHandle) != 0) - warning("Failed unloading plugin '%s' (%s)\n", _filename.c_str(), dlerror()); + warning("Failed unloading plugin '%s' (%s)", _filename.c_str(), dlerror()); } } -- cgit v1.2.3