* loader/i386/linux.c (allocate_pages): Fix a warning.

This commit is contained in:
robertmh committed 2008-11-20 20:22:04 +00:00
1 parent 73e8e268b7
commit e94045a110
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -9,6 +9,8 @@
* util/grub.d/00_header.in: Likewise.
* util/update-grub_lib.in: Likewise.
* loader/i386/linux.c (allocate_pages): Fix a warning.
2008-11-19 Robert Millan <rmh@aybabtu.com>
* loader/i386/pc/linux.c (grub_rescue_cmd_initrd): Fix a typo.
+1 -1
View File
@@ -169,7 +169,7 @@ allocate_pages (grub_size_t prot_size)
if (real_size + mmap_size > size)
return 0;
real_mode_mem = (addr + size) - (real_size + mmap_size);
real_mode_mem = (void *) ((addr + size) - (real_size + mmap_size));
return 1;
}