summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--docs/ccommon_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ccommon_api.md b/docs/ccommon_api.md
index a2337161..6015b959 100644
--- a/docs/ccommon_api.md
+++ b/docs/ccommon_api.md
@@ -337,7 +337,7 @@ int main()
// Stop when c >= 100
if (t.c < 100)
- printf("%d: {%d, %d, %d}\n", ++n, t.a, t.b, t.c);
+ printf("%d: [%d, %d, %d]\n", ++n, t.a, t.b, t.c);
else
cco_stop(&t); // cleanup in next coroutine call/resume
}