diff options
author | Oliver Kiehl | 2003-09-19 21:36:27 +0000 |
---|---|---|
committer | Oliver Kiehl | 2003-09-19 21:36:27 +0000 |
commit | 8fc9d92e320582d29b75531db2a8f720861018d3 (patch) | |
tree | 22050cf485047e9ee225193db078c2e4f4fbdbca /base | |
parent | a4675f34a7c056b2ca9a5f78d6bc7af26a5d947c (diff) | |
download | scummvm-rg350-8fc9d92e320582d29b75531db2a8f720861018d3.tar.gz scummvm-rg350-8fc9d92e320582d29b75531db2a8f720861018d3.tar.bz2 scummvm-rg350-8fc9d92e320582d29b75531db2a8f720861018d3.zip |
cleanup
svn-id: r10320
Diffstat (limited to 'base')
-rw-r--r-- | base/plugins.cpp | 6 |
1 files 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()); } } |