From 29aa5e8163ad1e91fe97030a747e3ec3ae287f9e Mon Sep 17 00:00:00 2001 From: robertmh Date: Wed, 6 May 2009 11:56:17 +0000 Subject: [PATCH] 2009-05-06 Robert Millan * util/i386/pc/grub-setup.c (setup): Fix check for embed region existance. --- ChangeLog | 5 +++++ util/i386/pc/grub-setup.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2203b68f5..0675a98e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-05-06 Robert Millan + + * util/i386/pc/grub-setup.c (setup): Fix check for embed region + existance. + 2009-05-05 Felix Zielcke * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add diff --git a/util/i386/pc/grub-setup.c b/util/i386/pc/grub-setup.c index 2ac8af642..10ce04148 100644 --- a/util/i386/pc/grub-setup.c +++ b/util/i386/pc/grub-setup.c @@ -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... */