[PATCH] Log parameters passed to virFileMakePath

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

 



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

diff --git a/src/util/util.c b/src/util/util.c
index bf60837..117a50f 100644
--- a/src/util/util.c
+++ b/src/util/util.c
@@ -1261,6 +1261,8 @@ static int virFileMakePathHelper(char *path, mode_t mode)
     struct stat st;
     char *p;
 
+    VIR_DEBUG("path=%s mode=0%o", path, mode);
+
     if (stat(path, &st) >= 0) {
         if (S_ISDIR(st.st_mode))
             return 0;
-- 
1.7.11.7

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[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]