[2195] 2009-05-06 Robert Millan <[email protected]>

Robert Millan <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2195
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2195
Author:   robertmh
Date:     2009-05-06 11:56:17 +0000 (Wed, 06 May 2009)
Log Message:
-----------
2009-05-06  Robert Millan  <[email protected]>

        * util/i386/pc/grub-setup.c (setup): Fix check for embed region
        existance.

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

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-05-05 19:32:27 UTC (rev 2194)
+++ trunk/grub2/ChangeLog	2009-05-06 11:56:17 UTC (rev 2195)
@@ -1,3 +1,8 @@
+2009-05-06  Robert Millan  <[email protected]>
+
+	* util/i386/pc/grub-setup.c (setup): Fix check for embed region
+	existance.
+
 2009-05-05  Felix Zielcke  <[email protected]>
 
 	* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add

Modified: trunk/grub2/util/i386/pc/grub-setup.c
===================================================================
--- trunk/grub2/util/i386/pc/grub-setup.c	2009-05-05 19:32:27 UTC (rev 2194)
+++ trunk/grub2/util/i386/pc/grub-setup.c	2009-05-06 11:56:17 UTC (rev 2195)
@@ -317,7 +317,7 @@
     {
       grub_partition_iterate (dest_dev->disk, find_usable_region);
 
-      if (embed_region.end != 0)
+      if (embed_region.end != embed_region.start)
 	embedding_area_exists = 1;
 
       /* If there is enough space...  */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.