Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/dlfcn.c

    rb1834a01 r8aea932  
    3535 */
    3636
     37#include <errno.h>
    3738#include <stdio.h>
    3839#include <stdlib.h>
     
    5354        if (m == NULL) {
    5455                m = module_load(runtime_env, path, mlf_local);
    55                 module_load_deps(m, mlf_local);
     56                if (m == NULL) {
     57                        return NULL;
     58                }
     59
     60                if (module_load_deps(m, mlf_local) != EOK) {
     61                        return NULL;
     62                }
     63
    5664                /* Now relocate. */
    5765                module_process_relocs(m);
Note: See TracChangeset for help on using the changeset viewer.