Browse Source

added the name of the plugin if dlopen fails

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@342 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.3.14
Jan Kneschke 17 years ago
parent
commit
6b5c314cc6
  1. 4
      src/plugin.c

4
src/plugin.c

@ -150,8 +150,8 @@ int plugins_load(server *srv) {
}
#else
if (NULL == (p->lib = dlopen(srv->tmp_buf->ptr, RTLD_LAZY))) {
log_error_write(srv, __FILE__, __LINE__, "ss", "dlopen() failed",
dlerror());
log_error_write(srv, __FILE__, __LINE__, "sbs", "dlopen() failed for:",
srv->tmp_buf, dlerror());
plugin_free(p);

Loading…
Cancel
Save