summaryrefslogtreecommitdiff
path: root/apps/examples/ostest/waitpid.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/ostest/waitpid.c')
-rw-r--r--apps/examples/ostest/waitpid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/ostest/waitpid.c b/apps/examples/ostest/waitpid.c
index 0649748a2..6b6de7908 100644
--- a/apps/examples/ostest/waitpid.c
+++ b/apps/examples/ostest/waitpid.c
@@ -84,7 +84,7 @@ static void waitpid_start_children(void)
for (i = 0; i < NCHILDREN; i++)
{
- ret = TASK_CREATE("waitpid", PRIORITY, STACKSIZE, waitpid_main, NULL);
+ ret = task_create("waitpid", PRIORITY, STACKSIZE, waitpid_main, NULL);
if (ret < 0)
{
printf("waitpid_start_child: ERROR Failed to start waitpid_main\n");