summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-09-12 10:04:26 +0800
committerGitHub <[email protected]>2018-09-12 10:04:26 +0800
commit471d25ce49a4c81d3aea90ff1fc96cb86865d96f (patch)
tree755e9fff858a6262e67c8c992eb14f3585d9ff7d
parente4bdcef4af5f708b5d4346a5cd75a5b8b226e011 (diff)
parentba20a00e19a231d404a8b13ed1005c76c2b7e812 (diff)
Merge pull request #1799 from liruncong/dev0911
修正_sys_command_string返回值
-rw-r--r--components/libc/compilers/armlibc/stubs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/compilers/armlibc/stubs.c b/components/libc/compilers/armlibc/stubs.c
index b9be260357..b292cd7629 100644
--- a/components/libc/compilers/armlibc/stubs.c
+++ b/components/libc/compilers/armlibc/stubs.c
@@ -249,7 +249,7 @@ int _sys_tmpnam(char *name, int fileno, unsigned maxlength)
char *_sys_command_string(char *cmd, int len)
{
/* no support */
- return cmd;
+ return RT_NULL;
}
/* This function writes a character to the console. */