summaryrefslogtreecommitdiff
path: root/nuttx/sched/task/task_posixspawn.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/task/task_posixspawn.c')
-rw-r--r--nuttx/sched/task/task_posixspawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/task/task_posixspawn.c b/nuttx/sched/task/task_posixspawn.c
index 5a831b95a..87d868093 100644
--- a/nuttx/sched/task/task_posixspawn.c
+++ b/nuttx/sched/task/task_posixspawn.c
@@ -424,7 +424,7 @@ int posix_spawn(FAR pid_t *pid, FAR const char *path,
* task.
*/
- proxy = TASK_CREATE("posix_spawn_proxy", param.sched_priority,
+ proxy = task_create("posix_spawn_proxy", param.sched_priority,
CONFIG_POSIX_SPAWN_PROXY_STACKSIZE,
(main_t)posix_spawn_proxy,
(FAR char * const *)NULL);