[libvirt] [PATCH] Log file name passed to virConfReadFile

Cole Robinson crobinso at redhat.com
Sat Oct 20 19:41:15 UTC 2012


---
 src/util/conf.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/util/conf.c b/src/util/conf.c
index 4df62b1..346b3df 100644
--- a/src/util/conf.c
+++ b/src/util/conf.c
@@ -35,6 +35,7 @@
 #include "conf.h"
 #include "util.h"
 #include "c-ctype.h"
+#include "logging.h"
 #include "memory.h"
 #include "virfile.h"
 
@@ -763,6 +764,8 @@ virConfReadFile(const char *filename, unsigned int flags)
     int len;
     virConfPtr conf;
 
+    VIR_DEBUG("filename=%s", NULLSTR(filename));
+
     if (filename == NULL) {
         virConfError(NULL, VIR_ERR_INVALID_ARG, __FUNCTION__);
         return NULL;
-- 
1.7.11.7




More information about the libvir-list mailing list