Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/kernel/shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void debug_trigger_page_fault(void) {
}

static void shell_execute(char *cmd) {
char *args[MAX_CMD_ARGS];
char *args[MAX_CMD_ARGS + 1]; // +1 for the NULL terminator written by shell_parse
int argc = shell_parse(cmd, args);
if (argc == 0)
return;
Expand Down
Loading