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-c4023f1b3aa9svn/tags/lighttpd-1.3.14
parent
279af9590f
commit
6b5c314cc6
|
@ -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…
Reference in New Issue