X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/f87af497f94f3bff87d2a807d26784b8a0227fbd..3bd1c92fad10a504eb8283d3f8d540b4fef9831d:/server/plugin.c diff --git a/server/plugin.c b/server/plugin.c index 6a78693..6856e71 100644 --- a/server/plugin.c +++ b/server/plugin.c @@ -80,7 +80,7 @@ function_t *get_plugin_function(const struct plugin *pl, const char *symbol) { function_t *f; - f = (function_t *)dlsym(pl->dlhandle, symbol); + f = (function_t *)dlfunc(pl->dlhandle, symbol); if(!f) disorder_fatal(0, "error looking up function '%s' in '%s': %s", symbol, pl->name, dlerror());