summaryrefslogtreecommitdiff
path: root/lib/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/shell.c')
-rw-r--r--lib/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/shell.c b/lib/shell.c
index 51de4e0d..7337834a 100644
--- a/lib/shell.c
+++ b/lib/shell.c
@@ -35,7 +35,7 @@ argsplit(EFI_HANDLE image, int *argc, CHAR16*** ARGV)
(*argc)++; /* we counted spaces, so add one for initial */
- *ARGV = AllocatePool(*argc * sizeof(*ARGV));
+ *ARGV = AllocatePool(*argc * sizeof(**ARGV));
if (!*ARGV) {
return EFI_OUT_OF_RESOURCES;
}