i386/pc/mmap: Fix memset size.
Found by: Coverity scan.
This commit is contained in:
parent
af0be976bf
commit
21f22c7107
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ grub_machine_mmap_iterate (grub_memory_hook_t hook, void *hook_data)
|
|||
|
||||
while (1)
|
||||
{
|
||||
grub_memset (entry, 0, sizeof (entry));
|
||||
grub_memset (entry, 0, sizeof (*entry));
|
||||
|
||||
cont = grub_get_mmap_entry (entry, cont);
|
||||
|
||||
|
|
Loading…
Reference in a new issue