diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libcgrouptest01.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libcgrouptest01.c b/tests/libcgrouptest01.c index 2ec63ec..80d8951 100644 --- a/tests/libcgrouptest01.c +++ b/tests/libcgrouptest01.c @@ -224,7 +224,7 @@ int main(int argc, char *argv[]) * and invalid pid * Exp outcome: error */ - retval = cgroup_attach_task_pid(nullcgroup, 0); + retval = cgroup_attach_task_pid(nullcgroup, -1); if (retval != 0) printf("Test[1:%2d]\tPASS: cgroup_attach_task_pid() ret: %d\n",\ ++i, retval); |