Commit 37cf27d3 authored by Tycho Andersen's avatar Tycho Andersen Committed by Pavel Emelyanov

cg: path buffer should be PATH_MAX long

Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 95e689db
......@@ -859,7 +859,7 @@ static int move_in_cgroup(CgSetEntry *se)
pr_info("Move into %d\n", se->id);
cg = get_service_fd(CGROUP_YARD);
for (i = 0; i < se->n_ctls; i++) {
char aux[1024];
char aux[PATH_MAX];
int fd, err, j, aux_off;
CgMemberEntry *ce = se->ctls[i];
CgControllerEntry *ctrl = NULL;
......
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