From 3b64ad34c38f5e6898ade446d5424cacb2f2bc8f Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 8 Nov 2021 14:58:19 +0800 Subject: [PATCH] testing/fstest: Fix the typo error Signed-off-by: Xiang Xiao --- testing/fstest/fstest_main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/testing/fstest/fstest_main.c b/testing/fstest/fstest_main.c index 9506900de..215be830a 100644 --- a/testing/fstest/fstest_main.c +++ b/testing/fstest/fstest_main.c @@ -191,10 +191,10 @@ static inline char fstest_randchar(void) } /**************************************************************************** - * Name: fstest_checkexit + * Name: fstest_checkexist ****************************************************************************/ -static bool fstest_checkexit(FAR struct fstest_filedesc_s *file) +static bool fstest_checkexist(FAR struct fstest_filedesc_s *file) { int i; bool ret = false; @@ -254,7 +254,7 @@ static inline void fstest_randname(FAR struct fstest_filedesc_s *file) file->hash = crc32((const uint8_t *)file->name + dirlen, alloclen - dirlen); } - while (fstest_checkexit(file)); + while (fstest_checkexist(file)); } /**************************************************************************** @@ -969,7 +969,7 @@ static void show_useage(void) printf("Usage : fstest [OPTION [ARG]] ...\n"); printf("-h show this help statement\n"); printf("-n num of test loop e.g. [%d]\n", CONFIG_TESTING_FSTEST_NLOOPS); - printf("-m mount point tobe test e.g. [%s]\n", + printf("-m mount point to be tested e.g. [%s]\n", CONFIG_TESTING_FSTEST_MOUNTPT); }