]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
nss: Print module name
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 19 Jun 2025 08:50:57 +0000 (10:50 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 18 Jul 2025 13:05:41 +0000 (15:05 +0200)
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tools/nss/libvirt_nss.c

index 52b769d760377b87b43efd3b3c3c797fc2262d63..fe9a6bdb3756102ae509adc67789a9f2546d341d 100644 (file)
@@ -121,6 +121,12 @@ findLease(const char *name,
     *naddress = 0;
     *found = false;
 
+#if defined(LIBVIRT_NSS_GUEST)
+    DEBUG("NSS module: libvirt_guest");
+#else
+    DEBUG("NSS module: libvirt");
+#endif
+
     if (af != AF_UNSPEC && af != AF_INET && af != AF_INET6) {
         errno = EAFNOSUPPORT;
         goto cleanup;