From a275d9e7c0c407c30fb3256c660065a290986258 Mon Sep 17 00:00:00 2001 From: phcoder Date: Wed, 29 Jul 2009 22:50:38 +0000 Subject: [PATCH] 2009-07-30 Vladimir Serbinenko * util/i386/pc/grub-setup.c (setup): Check that no partition is in embeding zone, not only the first one. --- ChangeLog | 5 +++++ util/i386/pc/grub-setup.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 962e82153..5183b55e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-07-30 Vladimir Serbinenko + + * util/i386/pc/grub-setup.c (setup): Check that no partition is in + embeding zone, not only the first one. + 2009-07-29 Joe Auricchio * term/gfxterm.c (clear_char): New function. diff --git a/util/i386/pc/grub-setup.c b/util/i386/pc/grub-setup.c index 38547e534..92c69ef15 100644 --- a/util/i386/pc/grub-setup.c +++ b/util/i386/pc/grub-setup.c @@ -132,7 +132,7 @@ setup (const char *dir, && embed_region.end > p->start) embed_region.end = p->start; - return 1; + return 0; } auto int NESTED_FUNC_ATTR find_usable_region_gpt (grub_disk_t disk,