]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/userdb.c
test: use SYSLOG_IDENTIFIER= filter instead of "journalctl -u"
[thirdparty/systemd.git] / src / shared / userdb.c
index 540573390c877d086c5ebb13f34fac074e28a74b..75dece3442935ae71f658f23105ff8f31d2e03c0 100644 (file)
@@ -1455,7 +1455,9 @@ int userdb_block_nss_systemd(int b) {
                 return 0;
         }
 
-        call = (int (*)(bool b)) dlsym(dl, "_nss_systemd_block");
+        log_debug("Loaded '%s' via dlopen()", LIBDIR "/libnss_systemd.so.2");
+
+        call = dlsym(dl, "_nss_systemd_block");
         if (!call)
                 /* If the file is installed but lacks the symbol we expect, things are weird, let's complain */
                 return log_debug_errno(SYNTHETIC_ERRNO(ELIBBAD),