From d4ac415cf809ceccb94921e9e10ff2602d976dea Mon Sep 17 00:00:00 2001 From: Caohongtao Date: Mon, 14 Oct 2024 09:45:41 +0000 Subject: [PATCH] Update: fix some spelling error Signed-off-by: Caohongtao --- test/benchmark_demo/mica_main.c | 2 +- test/benchmark_demo/pty_test.c | 2 +- test/benchmark_demo/rpmsg_pty.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/benchmark_demo/mica_main.c b/test/benchmark_demo/mica_main.c index 4ff05b2..74f7b7d 100644 --- a/test/benchmark_demo/mica_main.c +++ b/test/benchmark_demo/mica_main.c @@ -87,7 +87,7 @@ static void bencharmk() int ret; struct pty_ep_data *pty_shell; - /* Initialize the endpoint related to benchamrk */ + /* Initialize the endpoint related to benchmrk */ benchmark_service_init(); if (flag_pty_test) { diff --git a/test/benchmark_demo/pty_test.c b/test/benchmark_demo/pty_test.c index be9f5b5..2fb7286 100644 --- a/test/benchmark_demo/pty_test.c +++ b/test/benchmark_demo/pty_test.c @@ -125,7 +125,7 @@ static void bandwitdh_test(int time) unsigned long long totalBytes = 0; int duration = DURATION; - printf("\nWaiting for senconds, Testing communication bandwidth...\n"); + printf("\nWaiting for seconds, Testing communication bandwidth...\n"); /*Fill in the data and set the terminator '\r'*/ memset(buffer, 'a', PACKET_SIZE); diff --git a/test/benchmark_demo/rpmsg_pty.c b/test/benchmark_demo/rpmsg_pty.c index b002d21..72310c1 100644 --- a/test/benchmark_demo/rpmsg_pty.c +++ b/test/benchmark_demo/rpmsg_pty.c @@ -112,7 +112,7 @@ void *pty_thread(void *arg) pty_ep = (struct pty_ep_data *)arg; - printf("pty_thread for %s is runnning\n", rpmsg_service_endpoint_name(pty_ep->ep_id)); + printf("pty_thread for %s is running\n", rpmsg_service_endpoint_name(pty_ep->ep_id)); fdm = pty_ep->fd_master; /* wait endpoint bound */ -- Gitee