Log parameters passed to virFileMakePath

This commit is contained in:
Cole Robinson 2012-10-20 17:11:31 -04:00
parent 7fcf8d9d69
commit b62f9b99dd

View 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;