aboutsummaryrefslogtreecommitdiff
path: root/shell/shell_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/shell_common.c')
-rw-r--r--shell/shell_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/shell_common.c b/shell/shell_common.c
index 780e27ebd..0051f21d9 100644
--- a/shell/shell_common.c
+++ b/shell/shell_common.c
@@ -170,7 +170,7 @@ shell_builtin_read(void FAST_FUNC (*setvar)(const char *name, const char *val),
170 int timeout; 170 int timeout;
171 171
172 if ((bufpos & 0xff) == 0) 172 if ((bufpos & 0xff) == 0)
173 buffer = xrealloc(buffer, bufpos + 0x100); 173 buffer = xrealloc(buffer, bufpos + 0x101);
174 174
175 timeout = -1; 175 timeout = -1;
176 if (end_ms) { 176 if (end_ms) {