* grub-core/loader/efi/chainloader.c (grub_cmd_chainloader): Use
"out of memory" error messagge.
This commit is contained in:
parent
1f49313672
commit
c9eb96b508
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2012-03-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/loader/efi/chainloader.c (grub_cmd_chainloader): Use
|
||||||
|
"out of memory" error messagge.
|
||||||
|
|
||||||
2012-03-10 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-03-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Add scanning
|
* grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Add scanning
|
||||||
|
|
|
@ -252,7 +252,8 @@ grub_cmd_chainloader (grub_command_t cmd __attribute__ ((unused)),
|
||||||
pages, &address);
|
pages, &address);
|
||||||
if (status != GRUB_EFI_SUCCESS)
|
if (status != GRUB_EFI_SUCCESS)
|
||||||
{
|
{
|
||||||
grub_error (GRUB_ERR_OUT_OF_MEMORY, "cannot allocate %u pages", pages);
|
grub_dprintf ("chain", "Failed to allocate %u pages\n", pages);
|
||||||
|
grub_error (GRUB_ERR_OUT_OF_MEMORY, N_("out of memory"));
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue