2004-10-11 Hollis Blanchard <hollis@penguinppc.org>

* boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_claim):
    Return -1 if args.base was -1.
This commit is contained in:
hollisb 2004-10-11 14:11:33 +00:00
parent 026fa2f9ef
commit 4d61feb07b
2 changed files with 8 additions and 0 deletions

View file

@ -420,6 +420,9 @@ grub_ieee1275_claim (grub_addr_t addr, grub_size_t size, unsigned int align,
if (result)
*result = args.base;
if (args.base == (grub_addr_t)-1)
return -1;
return 0;
}