summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--components/finsh/msh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/finsh/msh.c b/components/finsh/msh.c
index 59f824f02a..4b06964010 100644
--- a/components/finsh/msh.c
+++ b/components/finsh/msh.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -342,7 +342,7 @@ static char *_msh_exec_search_path(const char *path, const char *pg_name)
*path_buffer = '\0';
}
strcat(path_buffer, pg_name);
-
+
if (_msh_lwp_cmd_exists(path_buffer))
{
return path_buffer;
@@ -447,7 +447,7 @@ int _msh_exec_lwp(int debug, char *cmd, rt_size_t length)
goto found_program;
}
- /* only check these paths when the first argument doesn't contain path
+ /* only check these paths when the first argument doesn't contain path
seperator */
if (strstr(argv[0], "/"))
{