2007-02-20 Hollis Blanchard <hollis@penguinppc.org>

* kern/powerpc/ieee1275/openfw.c (grub_available_iterate): Correct
	loop boundary.
This commit is contained in:
hollisb 2007-02-20 22:48:27 +00:00
parent 9b09e6fca0
commit fd7d8ebae4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-02-20 Hollis Blanchard <hollis@penguinppc.org>
* kern/powerpc/ieee1275/openfw.c (grub_available_iterate): Correct
loop boundary.
2007-02-20 Hollis Blanchard <hollis@penguinppc.org>
* include/grub/elfload.h (grub_elf32_load_hook_t): Return grub_err_t.

View File

@ -164,7 +164,7 @@ grub_err_t grub_available_iterate (int (*hook) (grub_uint64_t, grub_uint64_t))
/* Decode each entry and call `hook'. */
i = 0;
while (i < sizeof (*available))
while (i < sizeof (available))
{
grub_uint64_t address;
grub_uint64_t size;