This is an automated email from the ASF dual-hosted git repository. gustavonihei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 3b64ad34c38f5e6898ade446d5424cacb2f2bc8f Author: Xiang Xiao <[email protected]> AuthorDate: Mon Nov 8 14:58:19 2021 +0800 testing/fstest: Fix the typo error Signed-off-by: Xiang Xiao <[email protected]> --- 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 9506900..215be83 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); }
