aboutsummaryrefslogtreecommitdiffstats
path: root/os/various/shell/shell.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@110e8d01-0319-4d1e-a829-52ad28d1bb01>2018-03-25 15:10:41 +0000
committergdisirio <gdisirio@110e8d01-0319-4d1e-a829-52ad28d1bb01>2018-03-25 15:10:41 +0000
commit354096a9730611e2af046273e5758c6504cac79e (patch)
treee52861a2f7dfc478cab47bb5fede8a8f1ba345eb /os/various/shell/shell.c
parenteca81753c8acb5b99425c7ae8930d0f39d58a7a6 (diff)
downloadChibiOS-354096a9730611e2af046273e5758c6504cac79e.tar.gz
ChibiOS-354096a9730611e2af046273e5758c6504cac79e.tar.bz2
ChibiOS-354096a9730611e2af046273e5758c6504cac79e.zip
Fixed bug #930.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11855 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/various/shell/shell.c')
-rw-r--r--os/various/shell/shell.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/various/shell/shell.c b/os/various/shell/shell.c
index 1b6662136..f699901ec 100644
--- a/os/various/shell/shell.c
+++ b/os/various/shell/shell.c
@@ -353,7 +353,7 @@ THD_FUNCTION(shellThread, p) {
#endif
chprintf(chp, SHELL_NEWLINE_STR);
- chprintf(chp, "ChibiOS/RT Shell"SHELL_NEWLINE_STR);
+ chprintf(chp, "ChibiOS/RT Shell" SHELL_NEWLINE_STR);
while (true) {
chprintf(chp, SHELL_PROMPT_STR);
if (shellGetLine(scfg, line, sizeof(line), shp)) {
@@ -372,7 +372,7 @@ THD_FUNCTION(shellThread, p) {
n = 0;
while ((lp = parse_arguments(NULL, &tokp)) != NULL) {
if (n >= SHELL_MAX_ARGUMENTS) {
- chprintf(chp, "too many arguments"SHELL_NEWLINE_STR);
+ chprintf(chp, "too many arguments" SHELL_NEWLINE_STR);
cmd = NULL;
break;
}
@@ -394,7 +394,7 @@ THD_FUNCTION(shellThread, p) {
else if (cmdexec(shell_local_commands, chp, cmd, n, args) &&
((scp == NULL) || cmdexec(scp, chp, cmd, n, args))) {
chprintf(chp, "%s", cmd);
- chprintf(chp, " ?"SHELL_NEWLINE_STR);
+ chprintf(chp, " ?" SHELL_NEWLINE_STR);
}
}
}