summaryrefslogtreecommitdiff
path: root/hush.c
diff options
context:
space:
mode:
authorEric Andersen2001-04-27 07:49:41 +0000
committerEric Andersen2001-04-27 07:49:41 +0000
commit088875fec497e7f41f2257b4ac8c05560b391ff9 (patch)
treecf1c72c5d82d68c90d0db97f42a543c2e3b98eb4 /hush.c
parentaf44a0e8f459bd0aa98961b87f6dff07d139d618 (diff)
downloadbusybox-088875fec497e7f41f2257b4ac8c05560b391ff9.zip
busybox-088875fec497e7f41f2257b4ac8c05560b391ff9.tar.gz
Use BUFSIZ for the_command to match size used in cmdedit
Diffstat (limited to 'hush.c')
-rw-r--r--hush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hush.c b/hush.c
index cec2549..9a43a03 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