]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/conf.c
rename functions which clash with libsystemd's
[mirror_lxc.git] / src / lxc / conf.c
index d2ab8ceda20aa11038aff356c5b142f1cf06483f..b900089fc4d41c3ac0f722285bc713a408b08aa6 100644 (file)
@@ -2597,7 +2597,7 @@ static int mount_entry_create_dir_file(const struct mntent *mntent,
        }
 
        if (hasmntopt(mntent, "create=dir")) {
-               ret = mkdir_p(path, 0755);
+               ret = lxc_mkdir_p(path, 0755);
                if (ret < 0 && errno != EEXIST)
                        return log_error_errno(-1, errno, "Failed to create directory \"%s\"", path);
        }
@@ -2615,7 +2615,7 @@ static int mount_entry_create_dir_file(const struct mntent *mntent,
 
        p2 = dirname(p1);
 
-       ret = mkdir_p(p2, 0755);
+       ret = lxc_mkdir_p(p2, 0755);
        if (ret < 0 && errno != EEXIST)
                return log_error_errno(-1, errno, "Failed to create directory \"%s\"", path);