mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 01:29:27 +00:00
2007-09-03 Yoshinori K. Okuji <okuji@enbug.org>
From Hitoshi Ozeki:
* kern/i386/pc/init.c (compact_mem_regions): Decrease NUM_REGIONS
when merging two regions.
This commit is contained in:
1 parent
508e39ee41
commit
5618afbf59
3 files changed
+8
No files matched your search
@@ -120,6 +120,7 @@ compact_mem_regions (void)
|
||||
grub_memmove (mem_regions + j, mem_regions + j + 1,
|
||||
(num_regions - j - 1) * sizeof (struct mem_region));
|
||||
i--;
|
||||
num_regions--;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user