From: Nick Porter Date: Tue, 17 May 2022 07:47:04 +0000 (+0100) Subject: Ensure module loading errors are printed out X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53cd9c3e67a3403b27c63bf70cdd147154393d91;p=thirdparty%2Ffreeradius-server.git Ensure module loading errors are printed out --- diff --git a/src/lib/server/dl_module.c b/src/lib/server/dl_module.c index 4eeac4922be..5424aedbad3 100644 --- a/src/lib/server/dl_module.c +++ b/src/lib/server/dl_module.c @@ -425,7 +425,7 @@ dl_module_t const *dl_module(dl_module_t const *parent, char const *name, dl_mod */ dl = dl_by_name(dl_module_loader->dl_loader, module_name, dl_module, false); if (!dl) { - ERROR("Failed to link to module \"%s\"", module_name); + PERROR("Failed to link to module \"%s\"", module_name); ERROR("Make sure it (and all its dependent libraries!) are in the search path" " of your system's ld"); error: