[2455] 2009-07-30 Vladimir Serbinenko <[email protected]>

Vladimir Serbinenko <[email protected]> Wed, 29 Jul 2009 22:50:38 +0000
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2455
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2455
Author:   phcoder
Date:     2009-07-29 22:50:38 +0000 (Wed, 29 Jul 2009)
Log Message:
-----------
2009-07-30  Vladimir Serbinenko  <[email protected]>

	* util/i386/pc/grub-setup.c (setup): Check that no partition is in
	embeding zone, not only the first one.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/util/i386/pc/grub-setup.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-07-29 22:12:00 UTC (rev 2454)
+++ trunk/grub2/ChangeLog	2009-07-29 22:50:38 UTC (rev 2455)
@@ -1,3 +1,8 @@
+2009-07-30  Vladimir Serbinenko  <[email protected]>
+
+	* 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  <[email protected]>
 
 	* term/gfxterm.c (clear_char): New function.

Modified: trunk/grub2/util/i386/pc/grub-setup.c
===================================================================
--- trunk/grub2/util/i386/pc/grub-setup.c	2009-07-29 22:12:00 UTC (rev 2454)
+++ trunk/grub2/util/i386/pc/grub-setup.c	2009-07-29 22:50:38 UTC (rev 2455)
@@ -132,7 +132,7 @@
 	  && 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,