[PATCH 5/6] nss: Print module name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Michal Privoznik <mprivozn@xxxxxxxxxx>

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 tools/nss/libvirt_nss.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tools/nss/libvirt_nss.c b/tools/nss/libvirt_nss.c
index 52b769d760..fe9a6bdb37 100644
--- a/tools/nss/libvirt_nss.c
+++ b/tools/nss/libvirt_nss.c
@@ -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;
-- 
2.49.0




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux