Allocate correct size
This commit is contained in:
parent
1975ecdc59
commit
f45e1a9fb7
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ read_terminal_list (void)
|
|||
return;
|
||||
}
|
||||
|
||||
filename = grub_malloc (grub_strlen (prefix) + sizeof ("/crypto.lst"));
|
||||
filename = grub_malloc (grub_strlen (prefix) + sizeof ("/terminal.lst"));
|
||||
if (!filename)
|
||||
{
|
||||
grub_errno = GRUB_ERR_NONE;
|
||||
|
|
Loading…
Reference in a new issue