mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
Log parameters passed to virFileMakePath
This commit is contained in:
parent
7fcf8d9d69
commit
b62f9b99dd
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user