From b82ebdcd7000ab2f25059be3be6d1aaff9b20b48 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Sun, 8 Mar 2020 05:43:21 -0700 Subject: [PATCH] task_spawn:Fix style errors --- sched/task/task_spawn.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sched/task/task_spawn.c b/sched/task/task_spawn.c index ba4c27dfa1..9cb921d8f5 100644 --- a/sched/task/task_spawn.c +++ b/sched/task/task_spawn.c @@ -296,9 +296,9 @@ static int nxtask_spawn_proxy(int argc, FAR char *argv[]) * value. * - POSIX_SPAWN_SETSCHEDULER: Set the new task's scheduler policy to * the sched_policy value. - * - POSIX_SPAWN_RESETIDS: Resetting of the effective user ID of the child - * process is not supported. NuttX does not support effective user - * IDs. + * - POSIX_SPAWN_RESETIDS: Resetting of the effective user ID of the + * child process is not supported. NuttX does not support effective + * user IDs. * - POSIX_SPAWN_SETSIGMASK: Set the new task's signal mask. * - POSIX_SPAWN_SETSIGDEF: Resetting signal default actions is not * supported. NuttX does not support default signal actions. @@ -349,10 +349,10 @@ int task_spawn(FAR pid_t *pid, FAR const char *name, main_t entry, return nxtask_spawn_exec(pid, name, entry, attr, argv); } - /* Otherwise, we will have to go through an intermediary/proxy task in order - * to perform the I/O redirection. This would be a natural place to fork(). - * However, true fork() behavior requires an MMU and most implementations - * of vfork() are not capable of these operations. + /* Otherwise, we will have to go through an intermediary/proxy task in + * order to perform the I/O redirection. This would be a natural place to + * fork(). However, true fork() behavior requires an MMU and most + * implementations of vfork() are not capable of these operations. * * Even without fork(), we can still do the job, but parameter passing is * messier. Unfortunately, there is no (clean) way to pass binary values