]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Ensure module loading errors are printed out
authorNick Porter <nick@portercomputing.co.uk>
Tue, 17 May 2022 07:47:04 +0000 (08:47 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 17 May 2022 07:47:04 +0000 (08:47 +0100)
src/lib/server/dl_module.c

index 4eeac4922beb0ed8fb035062826a1a413d1fff55..5424aedbad3f748e81b1621c5c5207eb771c183d 100644 (file)
@@ -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: