This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit 9a73fb7f4b25410ea44365dc3e0fbe5ab8661411
Author: Michal Lenc <michall...@seznam.cz>
AuthorDate: Fri Jun 13 08:30:18 2025 +0200

    benchmarks/osperf/osperf.c: fix spelling mistakes
    
    Signed-off-by: Michal Lenc <michall...@seznam.cz>
---
 benchmarks/osperf/osperf.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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);

Reply via email to