summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/coroutines/coread.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/coroutines/coread.c')
-rw-r--r--misc/examples/coroutines/coread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/coroutines/coread.c b/misc/examples/coroutines/coread.c
index 359ca85d..6d3acdd7 100644
--- a/misc/examples/coroutines/coread.c
+++ b/misc/examples/coroutines/coread.c
@@ -21,7 +21,7 @@ int file_read(struct file_read* g)
cco_await(!cstr_getline(&g->line, g->fp));
- cco_cleanup:
+ cco_final:
printf("finish\n");
cstr_drop(&g->line);
if (g->fp) fclose(g->fp);