mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-05 15:48:04 +02:00
reverse conditional in new module load code
This commit is contained in:
parent
e525478603
commit
5b416dbb9d
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue