Browse Source

[Finsh] remove the .mo display when command is not found.

bernard 11 years ago
parent
commit
32a6f5b730
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/finsh/msh.c

+ 1 - 1
components/finsh/msh.c

@@ -242,7 +242,7 @@ int msh_exec_module(char* cmd_line, int size)
     }
     else
     {
-        rt_kprintf("%s: program not found.\n", pg_name);
+        rt_kprintf("%s: program not found.\n", cmd_line);
     }
 
     rt_free(pg_name);