diff options
Diffstat (limited to 'test/simple1.c')
-rw-r--r-- | test/simple1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/simple1.c b/test/simple1.c index 6a05b7a..6f40f8d 100644 --- a/test/simple1.c +++ b/test/simple1.c @@ -21,7 +21,7 @@ int main(int argc, char **argv) tf_scheduler_enable(NULL); for (i = 0; i < 6; i++) { - c = tf_fiber_create(NULL, work_fiber, sizeof(struct ctx)); + c = tf_fiber_create(work_fiber, sizeof(struct ctx)); c->id = i; tf_fiber_put(c); } |