[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[2449] 2009-07-28 Felix Zielcke <address@hidden>
From: |
Felix Zielcke |
Subject: |
[2449] 2009-07-28 Felix Zielcke <address@hidden> |
Date: |
Tue, 28 Jul 2009 15:58:40 +0000 |
Revision: 2449
http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2449
Author: fzielcke
Date: 2009-07-28 15:58:40 +0000 (Tue, 28 Jul 2009)
Log Message:
-----------
2009-07-28 Felix Zielcke <address@hidden>
* util/i386/pc/grub-setup.c (setup): Fix 2 incorrect checks
when embedding.
Modified Paths:
--------------
trunk/grub2/ChangeLog
trunk/grub2/util/i386/pc/grub-setup.c
Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog 2009-07-26 11:03:57 UTC (rev 2448)
+++ trunk/grub2/ChangeLog 2009-07-28 15:58:40 UTC (rev 2449)
@@ -1,3 +1,8 @@
+2009-07-28 Felix Zielcke <address@hidden>
+
+ * util/i386/pc/grub-setup.c (setup): Fix 2 incorrect checks
+ when embedding.
+
2009-07-26 Felix Zielcke <address@hidden>
* util/grub-mkconfig.in (package_version): New variable.
Modified: trunk/grub2/util/i386/pc/grub-setup.c
===================================================================
--- trunk/grub2/util/i386/pc/grub-setup.c 2009-07-26 11:03:57 UTC (rev
2448)
+++ trunk/grub2/util/i386/pc/grub-setup.c 2009-07-28 15:58:40 UTC (rev
2449)
@@ -352,9 +352,9 @@
if ((unsigned long) core_sectors > embed_region.end - embed_region.start)
{
- if (core_sectors > 62 * 512)
+ if (core_sectors > 62)
grub_util_warn ("Your core.img is unusually large. It won't fit in the
embedding area.");
- else if (embed_region.end - embed_region.start < 62 * 512)
+ else if (embed_region.end - embed_region.start < 62)
grub_util_warn ("Your embedding area is unusually small. core.img
won't fit in it.");
else
grub_util_warn ("Embedding area is too small for core.img.");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [2449] 2009-07-28 Felix Zielcke <address@hidden>,
Felix Zielcke <=