From 32a6f5b730ea6dc0ba5984acc7ca43ecbf1bfb43 Mon Sep 17 00:00:00 2001 From: bernard Date: Sat, 15 Feb 2014 10:28:38 +0800 Subject: [PATCH] [Finsh] remove the .mo display when command is not found. --- components/finsh/msh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/finsh/msh.c b/components/finsh/msh.c index 794fcb83e..ff3d92f35 100644 --- a/components/finsh/msh.c +++ b/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);