diff options
Diffstat (limited to 'lib/shell.c')
| -rw-r--r-- | lib/shell.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/shell.c b/lib/shell.c index 224791a0..79cc41d4 100644 --- a/lib/shell.c +++ b/lib/shell.c @@ -34,7 +34,8 @@ argsplit(EFI_HANDLE image, int *argc, CHAR16*** ARGV) } } - (*argc)++; /* we counted spaces, so add one for initial */ + /* we counted spaces, so add one for initial */ + (*argc)++; *ARGV = AllocatePool(*argc * sizeof(**ARGV)); if (!*ARGV) { |
