summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbernard <[email protected]>2022-12-13 08:08:38 +0800
committerMan, Jianting (Meco) <[email protected]>2022-12-12 20:24:10 -0500
commitaa0c8b4a9307de32941d47009a72d3ca85528069 (patch)
tree84efa7bef9bfdd98cfdff2444bc1c72461b6e80a
parent8b5a501831c06c6bca74740565b3a9b6efb34c5f (diff)
[components] fix format issue
-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], "/"))
{