]> xenbits.xensource.com Git - libvirt.git/commitdiff
Log parameters passed to virFileMakePath
authorCole Robinson <crobinso@redhat.com>
Sat, 20 Oct 2012 21:11:31 +0000 (17:11 -0400)
committerCole Robinson <crobinso@redhat.com>
Sun, 21 Oct 2012 17:21:50 +0000 (13:21 -0400)
src/util/util.c

index bf608375b3e82157f38790f006c14eb3436198e2..117a50fa0ab0aca643aff36bcdac89835c91637a 100644 (file)
@@ -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;