diff options
author | Angelo Marletta <angelo.marletta@gmail.com> | 2012-06-21 02:27:11 +0100 |
---|---|---|
committer | Angelo Marletta <angelo.marletta@gmail.com> | 2012-06-21 02:27:11 +0100 |
commit | 622bdab1e23bf95d5ed725b5db8ef2cf86d42cb2 (patch) | |
tree | 4aa138125673b94add007d7f9fc4c7e83ef1d5d0 /tests | |
parent | ce079fc58d6d30c3fe400a777934b4a4cce85761 (diff) | |
download | cpulimit-622bdab1e23bf95d5ed725b5db8ef2cf86d42cb2.tar.gz |
removed file descriptor leak
Diffstat (limited to 'tests')
-rw-r--r-- | tests/process_iterator_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/process_iterator_test.c b/tests/process_iterator_test.c index 566648d..e4d84fd 100644 --- a/tests/process_iterator_test.c +++ b/tests/process_iterator_test.c @@ -137,7 +137,7 @@ void test_process_group_single() } signal(SIGABRT, &kill_child); signal(SIGTERM, &kill_child); - assert(init_process_group(&pgroup, child, 0) == 0); + assert(init_process_group(&pgroup, child, 1) == 0); int i; for (i=0; i<10000; i++) { |