diff options
Diffstat (limited to 'tests/libcg_ba.cpp')
-rw-r--r-- | tests/libcg_ba.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libcg_ba.cpp b/tests/libcg_ba.cpp index 873f12f..6406dda 100644 --- a/tests/libcg_ba.cpp +++ b/tests/libcg_ba.cpp @@ -98,7 +98,7 @@ struct cgroup *cg::makenode(const string &name, const string &task_uid, ccg->control_uid = cuid; ccg->control_gid = cgid; - ret = cg_create_cgroup(ccg); + ret = cg_create_cgroup(ccg, 1); if (ret) { cout << "cg create group failed " << errno << endl; ret = cg_delete_cgroup(ccg, 1); |