aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 5031ae153..c1b2b0ed6 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -6011,7 +6011,7 @@ static inline void putprompt(const char *s)
6011{ 6011{
6012#ifdef CONFIG_ASH_EXPAND_PRMT 6012#ifdef CONFIG_ASH_EXPAND_PRMT
6013 free(cmdedit_prompt); 6013 free(cmdedit_prompt);
6014 cmdedit_prompt = bb_xstrdup(s); 6014 cmdedit_prompt = xstrdup(s);
6015#else 6015#else
6016 cmdedit_prompt = s; 6016 cmdedit_prompt = s;
6017#endif 6017#endif
@@ -8105,7 +8105,7 @@ static int dotcmd(int argc, char **argv)
8105 int status = 0; 8105 int status = 0;
8106 8106
8107 for (sp = cmdenviron; sp; sp = sp->next) 8107 for (sp = cmdenviron; sp; sp = sp->next)
8108 setvareq(bb_xstrdup(sp->text), VSTRFIXED | VTEXTFIXED); 8108 setvareq(xstrdup(sp->text), VSTRFIXED | VTEXTFIXED);
8109 8109
8110 if (argc >= 2) { /* That's what SVR2 does */ 8110 if (argc >= 2) { /* That's what SVR2 does */
8111 char *fullname; 8111 char *fullname;