diff --git a/bin/shell/shell.c b/bin/shell/shell.c index 9c59ffd..5928559 100644 --- a/bin/shell/shell.c +++ b/bin/shell/shell.c @@ -102,7 +102,7 @@ DispatchCommand(char *buf) { int i; int argc; - char *argv[SHELL_MAX_ARGS]; + char *argv[SHELL_MAX_ARGS+1]; char *nextArg; // Remove newline