diff --git a/benchmarks/osperf/osperf.c b/benchmarks/osperf/osperf.c index c5b680613..536d55054 100644 --- a/benchmarks/osperf/osperf.c +++ b/benchmarks/osperf/osperf.c @@ -188,10 +188,10 @@ static size_t pthread_create_performance(void) } /**************************************************************************** - * Contxt create performance + * Context create performance ****************************************************************************/ -static FAR void *context_swtich_task(FAR void *arg) +static FAR void *context_switch_task(FAR void *arg) { FAR struct performance_time_s *time = arg; sched_yield(); @@ -204,7 +204,7 @@ static size_t context_switch_performance(void) struct performance_time_s time; int tid; - tid = performance_thread_create(context_swtich_task, &time, + tid = performance_thread_create(context_switch_task, &time, CONFIG_INIT_PRIORITY); sched_yield(); performance_start(&time);