aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hush.c2
-rw-r--r--shell/hush.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/hush.c b/hush.c
index cec2549be..9a43a03dc 100644
--- a/hush.c
+++ b/hush.c
@@ -780,7 +780,7 @@ static inline void setup_prompt_string(int promptmode, char **prompt_str)
static void get_user_input(struct in_str *i)
{
char *prompt_str;
- static char the_command[MAX_LINE];
+ static char the_command[BUFSIZ];
setup_prompt_string(i->promptmode, &prompt_str);
#ifdef BB_FEATURE_COMMAND_EDITING
diff --git a/shell/hush.c b/shell/hush.c
index cec2549be..9a43a03dc 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -780,7 +780,7 @@ static inline void setup_prompt_string(int promptmode, char **prompt_str)
static void get_user_input(struct in_str *i)
{
char *prompt_str;
- static char the_command[MAX_LINE];
+ static char the_command[BUFSIZ];
setup_prompt_string(i->promptmode, &prompt_str);
#ifdef BB_FEATURE_COMMAND_EDITING