kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit fa1a3099c19fb94216d636792112bbd92331d2b2
parent 3ca83c98578ed35a0cdcab89693093ba7b5e631a
Author: Joris Vink <joris@coders.se>
Date:   Wed,  1 May 2013 17:16:09 +0200

better error msg

Diffstat:
src/module.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/module.c b/src/module.c @@ -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); }