From: Cole Robinson Date: Sat, 20 Oct 2012 21:11:31 +0000 (-0400) Subject: Log parameters passed to virFileMakePath X-Git-Tag: v1.0.0-rc1~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b62f9b99dd26e28f87955f060cfacd118d6d5e02;p=thirdparty%2Flibvirt.git Log parameters passed to virFileMakePath --- diff --git a/src/util/util.c b/src/util/util.c index bf608375b3..117a50fa0a 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;