summaryrefslogtreecommitdiff
path: root/lib/shell.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2018-03-12 16:00:44 -0400
committerPeter Jones <pmjones@gmail.com>2018-03-12 16:21:43 -0400
commitc8811bfed26fe76103105ab1f39828e5123107dd (patch)
treecd46a20292c708ff03a19b8df07645757c2d05bf /lib/shell.c
parent80b7937e170381b0cdcbe6418845e200d9d8c879 (diff)
downloadefi-boot-shim-c8811bfed26fe76103105ab1f39828e5123107dd.tar.gz
efi-boot-shim-c8811bfed26fe76103105ab1f39828e5123107dd.zip
lib/shell.c: minor cleanup
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'lib/shell.c')
-rw-r--r--lib/shell.c3
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) {