2007-02-20 Hollis Blanchard <hollis@penguinppc.org>
* kern/powerpc/ieee1275/openfw.c (grub_available_iterate): Correct loop boundary.
This commit is contained in:
parent
9b09e6fca0
commit
fd7d8ebae4
2 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue