aboutsummaryrefslogtreecommitdiff
path: root/shell/msh.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/msh.c')
-rw-r--r--shell/msh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/msh.c b/shell/msh.c
index 53f643de1..aad6bbf35 100644
--- a/shell/msh.c
+++ b/shell/msh.c
@@ -2838,7 +2838,7 @@ char *c, **v, **envp;
2838#ifdef CONFIG_FEATURE_SH_STANDALONE_SHELL 2838#ifdef CONFIG_FEATURE_SH_STANDALONE_SHELL
2839 char *name = c; 2839 char *name = c;
2840#ifdef CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN 2840#ifdef CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN
2841 name = get_last_path_component(name); 2841 name = bb_get_last_path_component(name);
2842#endif 2842#endif
2843 optind = 1; 2843 optind = 1;
2844 if (find_applet_by_name(name)) { 2844 if (find_applet_by_name(name)) {
@@ -2876,7 +2876,7 @@ char *c, **v, **envp;
2876 return("no Shell"); 2876 return("no Shell");
2877 2877
2878 case ENOMEM: 2878 case ENOMEM:
2879 return((char*)memory_exhausted); 2879 return((char*)bb_msg_memory_exhausted);
2880 2880
2881 case E2BIG: 2881 case E2BIG:
2882 return("argument list too long"); 2882 return("argument list too long");
@@ -3883,7 +3883,7 @@ int quoted;
3883 ; 3883 ;
3884 if (i < 0) { 3884 if (i < 0) {
3885 closepipe(pf); 3885 closepipe(pf);
3886 err((char*)memory_exhausted); 3886 err((char*)bb_msg_memory_exhausted);
3887 return(0); 3887 return(0);
3888 } 3888 }
3889 if (i != 0) { 3889 if (i != 0) {