diff --git a/sched/pthread/pthread_mutextrylock.c b/sched/pthread/pthread_mutextrylock.c index f4cda697b78..d5701ae7227 100644 --- a/sched/pthread/pthread_mutextrylock.c +++ b/sched/pthread/pthread_mutextrylock.c @@ -179,7 +179,7 @@ int pthread_mutex_trylock(FAR pthread_mutex_t *mutex) DEBUGASSERT(mutex->pid != 0); /* < 0: available, >0 owned, ==0 error */ DEBUGASSERT((mutex->flags & _PTHREAD_MFLAGS_INCONSISTENT) != 0); - /* A thread holds the mutex, but there is no such thread. + /* A thread holds the mutex, but there is no such thread. * POSIX requires that the 'robust' mutex return EOWNERDEAD * in this case. It is then the caller's responsibility to * call pthread_mutx_consistent() fo fix the mutex. diff --git a/sched/sched/sched_setaffinity.c b/sched/sched/sched_setaffinity.c index 734745e1778..bf9daf335ac 100644 --- a/sched/sched/sched_setaffinity.c +++ b/sched/sched/sched_setaffinity.c @@ -159,5 +159,5 @@ errout_with_csection: errout_with_lock: sched_unlock(); set_errno(errcode); - return ERROR; + return ERROR; } diff --git a/sched/wqueue/kwork_inherit.c b/sched/wqueue/kwork_inherit.c index ae4c0e6187e..9ea67ee5a32 100644 --- a/sched/wqueue/kwork_inherit.c +++ b/sched/wqueue/kwork_inherit.c @@ -154,7 +154,7 @@ static void lpwork_boostworker(pid_t wpid, uint8_t reqprio) if (reqprio > wtcb->sched_priority) { - /* Raise the priority of the worker thread. This cannot cause + /* Raise the priority of the worker thread. This cannot cause * context switch because we have preemption disabled. The task * will be marked "pending" and the switch will occur during * sched_unlock() processing.