]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-05-06 Robert Millan <rmh.grub@aybabtu.com>
authorrobertmh <robertmh@localhost>
Wed, 6 May 2009 11:56:17 +0000 (11:56 +0000)
committerrobertmh <robertmh@localhost>
Wed, 6 May 2009 11:56:17 +0000 (11:56 +0000)
        * util/i386/pc/grub-setup.c (setup): Fix check for embed region
        existance.

ChangeLog
util/i386/pc/grub-setup.c

index 2203b68f58a11bbc237dd7770bc4a33313d9e954..0675a98e86703c429a25370bccbe1bbcf7ae7953 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-06  Robert Millan  <rmh.grub@aybabtu.com>
+
+       * util/i386/pc/grub-setup.c (setup): Fix check for embed region
+       existance.
+
 2009-05-05  Felix Zielcke  <fzielcke@z-51.de>
 
        * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add
index 2ac8af642abf6ff52c46d1f3bf3312162a5f2ddc..10ce041487659c37b1689af30107cbed419ff5d5 100644 (file)
@@ -317,7 +317,7 @@ setup (const char *dir,
     {
       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...  */