summaryrefslogtreecommitdiff
path: root/project2/common/library.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/common/library.cpp')
-rw-r--r--project2/common/library.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/common/library.cpp b/project2/common/library.cpp
index 4762211..738803f 100644
--- a/project2/common/library.cpp
+++ b/project2/common/library.cpp
@@ -11,7 +11,7 @@ SimpleMessageException(UnloadLibraryFailed);
Library::Library(ScriptNodePtr p) :
SourceObject(p),
- handle(dlopen(Variable(p, "path")(), RTLD_NOW))
+ handle(dlopen(Variable(p, "path")(NULL), RTLD_NOW))
{
if (!handle) {
throw LoadLibraryFailed(dlerror());