summaryrefslogtreecommitdiff
path: root/libcr
diff options
context:
space:
mode:
Diffstat (limited to 'libcr')
-rw-r--r--libcr/coroutine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcr/coroutine.c b/libcr/coroutine.c
index be8d378..bc67cbb 100644
--- a/libcr/coroutine.c
+++ b/libcr/coroutine.c
@@ -406,7 +406,7 @@ cid_t coroutine_add_with_stack_size(size_t stack_size, cr_fn_t fn, void *args) {
stack_pattern[i%sizeof(stack_pattern)];
#endif
- coroutine_running = child;
+ coroutine_running = child;
coroutine_table[child-1].state = CR_INITIALIZING;
if (!cr_plat_setjmp(coroutine_add_env)) { /* point=a */
void *stack_base = coroutine_table[child-1].stack