pthread_create: Fix an (unlikely) error in fallback value in the event of a failure (which should never occur)

This commit is contained in:
Gregory Nutt
2015-07-23 11:25:25 -06:00
parent 146bdc3c93
commit aa90da2bc8
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -324,7 +324,7 @@ int pthread_create(FAR pthread_t *thread, FAR const pthread_attr_t *attr,
}
else
{
priority = SCHED_FIFO;
priority = PTHREAD_DEFAULT_PRIORITY;
}
#if CONFIG_RR_INTERVAL > 0