aboutsummaryrefslogtreecommitdiff
path: root/base/plugins.cpp
diff options
context:
space:
mode:
authorMax Horn2004-03-23 00:12:49 +0000
committerMax Horn2004-03-23 00:12:49 +0000
commitc61622ebaf24dbd8d7cdf2cab3fd20e514909c58 (patch)
tree7cd23ad12a7be3f6d160f6d36d44353559a93bd2 /base/plugins.cpp
parent3fddbc18d6e0a3a783883b9a9bb0c24f50397e6a (diff)
downloadscummvm-rg350-c61622ebaf24dbd8d7cdf2cab3fd20e514909c58.tar.gz
scummvm-rg350-c61622ebaf24dbd8d7cdf2cab3fd20e514909c58.tar.bz2
scummvm-rg350-c61622ebaf24dbd8d7cdf2cab3fd20e514909c58.zip
fix dynamic version of LOAD_MODULE macro; fixed typo
svn-id: r13366
Diffstat (limited to 'base/plugins.cpp')
-rw-r--r--base/plugins.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/plugins.cpp b/base/plugins.cpp
index 5f20262726..549811ebf5 100644
--- a/base/plugins.cpp
+++ b/base/plugins.cpp
@@ -133,7 +133,7 @@ void *DynamicPlugin::findSymbol(const char *symbol) {
#endif
void *func = dlsym(_dlHandle, symbol);
if (!func)
- warning("Failed loading symbold '%s' from plugin '%s' (%s)", symbol, _filename.c_str(), dlerror());
+ warning("Failed loading symbol '%s' from plugin '%s' (%s)", symbol, _filename.c_str(), dlerror());
return func;
#else
#error TODO
@@ -218,7 +218,7 @@ void PluginManager::loadPlugins() {
// the "ABI" version the plugin was built for, and we can compare that
// to the ABI version of the executable.
#define LOAD_MODULE(name, NAME) \
- tryLoadPlugin(new DynamicPlugin("scumm/lib" name ".so"));
+ tryLoadPlugin(new DynamicPlugin(name "/lib" name ".so"));
#else
// "Loader" for the static plugins
#define LOAD_MODULE(name, NAME) \