summaryrefslogtreecommitdiffstats
path: root/nuttx/sched/os_start.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/os_start.c')
-rw-r--r--nuttx/sched/os_start.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/os_start.c b/nuttx/sched/os_start.c
index 18b8945ee0..9036f17bda 100644
--- a/nuttx/sched/os_start.c
+++ b/nuttx/sched/os_start.c
@@ -408,10 +408,10 @@ void os_start(void)
#ifndef CONFIG_CUSTOM_STACK
init_taskid = task_create("init", SCHED_PRIORITY_DEFAULT,
CONFIG_PROC_STACK_SIZE,
- (main_t)user_start, 0, 0, 0, 0);
+ (main_t)user_start, (char **)NULL);
#else
init_taskid = task_create("init", SCHED_PRIORITY_DEFAULT,
- (main_t)user_start, 0, 0, 0, 0);
+ (main_t)user_start, (char **)NULL);
#endif
ASSERT(init_taskid != ERROR);