summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2007-06-06 16:22:03 -0400
committerRay Strode <rstrode@redhat.com>2007-06-06 16:22:03 -0400
commit5b416dbb9df3f50cfc1dcd8bb72699ad0074f9ee (patch)
treeeb4285b3368a43e7de9d395ad274d96fce4cea4b /src
parente525478603e24e68e9dd706d8897e7b9b88d8e0f (diff)
reverse conditional in new module load code
Diffstat (limited to 'src')
-rw-r--r--src/ply-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ply-utils.c b/src/ply-utils.c
index 2136f4b..4f5821f 100644
--- a/src/ply-utils.c
+++ b/src/ply-utils.c
@@ -610,7 +610,7 @@ ply_module_look_up_function (ply_module_handle_t *handle,
dlerror ();
function = (ply_module_function_t) dlsym (handle, function_name);
- if (dlerror () == NULL)
+ if (dlerror () != NULL)
{
if (errno == 0)
errno = ELIBACC;