Commit 6c7ea7af authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

cgroup: prepare_cgroup_dirs -- Add some more debug printouts

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 89d3840c
......@@ -677,6 +677,7 @@ static int prepare_cgroup_dirs(char *paux, size_t off, CgroupDirEntry **ents, si
sprintf(paux + off, "/%s", e->path);
pr_debug("\t`- %s\n", paux);
if (mkdirp(paux)) {
pr_perror("Can't make cgroup dir %s", paux);
return -1;
......@@ -766,6 +767,7 @@ static int prepare_cgroup_sfd(CgroupEntry *ce)
name_off = sprintf(paux + off, "/%s", name);
pr_debug("\tMaking subdir %s\n", paux);
if (mkdir(paux, 0700)) {
pr_perror("Can't make cgyard subdir %s", paux);
goto err;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment