mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 12:39:01 -04:00
better error msg
This commit is contained in:
parent
3ca83c9857
commit
fa1a3099c1
@ -60,7 +60,7 @@ kore_module_load(char *module_name)
|
||||
mod_last_mtime = st.st_mtime;
|
||||
mod_handle = dlopen(module_name, RTLD_NOW);
|
||||
if (mod_handle == NULL)
|
||||
fatal("dlopen(%s) failed", module_name);
|
||||
fatal("%s", dlerror());
|
||||
|
||||
TAILQ_INIT(&handlers);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user