aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-04-05 05:19:03 +0000
committerErik Andersen <andersen@codepoet.org>2000-04-05 05:19:03 +0000
commitd4bc1fcad8b0f9f4ce423c60c9563e8224651a26 (patch)
tree8ad4166e0a87e65cd027cd5c5855a16d15c2a7d7
parent5661fe078eed752780b11f3f4fdd33bbd76a6c5e (diff)
downloadbusybox-d4bc1fcad8b0f9f4ce423c60c9563e8224651a26.tar.gz
Minor noise removal
-Erik
-rw-r--r--lash.c4
-rw-r--r--sh.c4
-rw-r--r--shell/lash.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/lash.c b/lash.c
index ad7d7613c..f17097c64 100644
--- a/lash.c
+++ b/lash.c
@@ -394,10 +394,10 @@ static int getCommand(FILE * source, char *command)
#ifdef BB_FEATURE_SH_COMMAND_EDITING
int len;
char *promptStr;
- len=fprintf(stdout, "BBSHELL %s %s", cwd, prompt);
+ len=fprintf(stdout, "%s %s", cwd, prompt);
fflush(stdout);
promptStr=(char*)malloc(sizeof(char)*(len+1));
- sprintf(promptStr, "BBSHELL %s %s", cwd, prompt);
+ sprintf(promptStr, "%s %s", cwd, prompt);
cmdedit_read_input(promptStr, fileno(stdin), fileno(stdout), command);
free( promptStr);
return 0;
diff --git a/sh.c b/sh.c
index ad7d7613c..f17097c64 100644
--- a/sh.c
+++ b/sh.c
@@ -394,10 +394,10 @@ static int getCommand(FILE * source, char *command)
#ifdef BB_FEATURE_SH_COMMAND_EDITING
int len;
char *promptStr;
- len=fprintf(stdout, "BBSHELL %s %s", cwd, prompt);
+ len=fprintf(stdout, "%s %s", cwd, prompt);
fflush(stdout);
promptStr=(char*)malloc(sizeof(char)*(len+1));
- sprintf(promptStr, "BBSHELL %s %s", cwd, prompt);
+ sprintf(promptStr, "%s %s", cwd, prompt);
cmdedit_read_input(promptStr, fileno(stdin), fileno(stdout), command);
free( promptStr);
return 0;
diff --git a/shell/lash.c b/shell/lash.c
index ad7d7613c..f17097c64 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -394,10 +394,10 @@ static int getCommand(FILE * source, char *command)
#ifdef BB_FEATURE_SH_COMMAND_EDITING
int len;
char *promptStr;
- len=fprintf(stdout, "BBSHELL %s %s", cwd, prompt);
+ len=fprintf(stdout, "%s %s", cwd, prompt);
fflush(stdout);
promptStr=(char*)malloc(sizeof(char)*(len+1));
- sprintf(promptStr, "BBSHELL %s %s", cwd, prompt);
+ sprintf(promptStr, "%s %s", cwd, prompt);
cmdedit_read_input(promptStr, fileno(stdin), fileno(stdout), command);
free( promptStr);
return 0;