nwrap: Only warn if we can't find a symbol in an nss module
authorAndreas Schneider <asn@samba.org>
Mon, 17 Feb 2020 11:44:26 +0000 (12:44 +0100)
committerAndreas Schneider <asn@samba.org>
Mon, 17 Feb 2020 11:44:26 +0000 (12:44 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
src/nss_wrapper.c

index 3d9c3dc91ccce1700d80b64a5d8fef952b681390..d6639ebf5af6128fc3b8105935927cc7777cc4c1 100644 (file)
@@ -1488,7 +1488,7 @@ static void *nwrap_load_module_fn(struct nwrap_backend *b,
 
        res = dlsym(b->so_handle, s);
        if (res == NULL) {
-               NWRAP_LOG(NWRAP_LOG_ERROR,
+               NWRAP_LOG(NWRAP_LOG_WARN,
                          "Cannot find function %s in %s",
                          s, b->so_path);
        }