From: Ray Strode Date: Wed, 6 Jun 2007 20:22:03 +0000 (-0400) Subject: reverse conditional in new module load code X-Git-Tag: 0.1.0~205 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b416dbb9df3f50cfc1dcd8bb72699ad0074f9ee;p=thirdparty%2Fplymouth.git reverse conditional in new module load code --- diff --git a/src/ply-utils.c b/src/ply-utils.c index 2136f4bb..4f5821fc 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;