diff options
| author | Peter Jones <pjones@redhat.com> | 2018-03-12 16:00:44 -0400 |
|---|---|---|
| committer | Peter Jones <pmjones@gmail.com> | 2018-03-12 16:21:43 -0400 |
| commit | c8811bfed26fe76103105ab1f39828e5123107dd (patch) | |
| tree | cd46a20292c708ff03a19b8df07645757c2d05bf | |
| parent | 80b7937e170381b0cdcbe6418845e200d9d8c879 (diff) | |
| download | efi-boot-shim-c8811bfed26fe76103105ab1f39828e5123107dd.tar.gz efi-boot-shim-c8811bfed26fe76103105ab1f39828e5123107dd.zip | |
lib/shell.c: minor cleanup
Signed-off-by: Peter Jones <pjones@redhat.com>
| -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) { |
