diff options
| author | roamboy <[email protected]> | 2014-01-13 15:57:13 +0800 |
|---|---|---|
| committer | roamboy <[email protected]> | 2014-01-13 15:57:13 +0800 |
| commit | 1c8693c87eb4636df0edeb0dfeb36551df6f5e75 (patch) | |
| tree | 5ab13aeab59346299b3796d7b3c22ab29fe8144b /components | |
| parent | 1df4c1b9629269a4e5374f44873026b122eeb0ab (diff) | |
Update msh.c
Diffstat (limited to 'components')
| -rw-r--r-- | components/finsh/msh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/finsh/msh.c b/components/finsh/msh.c index 8d2a51e920..35ebb4b559 100644 --- a/components/finsh/msh.c +++ b/components/finsh/msh.c @@ -276,7 +276,7 @@ int msh_exec(char* cmd, rt_size_t length) while(*cmd != ' ') { if (*cmd == 0) break; - cmd++; + cmd++; } if (*cmd == ' ') *cmd = 0; rt_kprintf("%s: command not found.\n", argv[0]); |
