forked from pool/grub2
88507aed88
- Fix build with gcc 4.7 (needs -fno-strict-aliasing for zfs code). - Fix error in installation to extended partition (bnc#750897) - Added BuildRequires for gnu-unifont OBS-URL: https://build.opensuse.org/request/show/110168 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=30
25 lines
938 B
Diff
25 lines
938 B
Diff
From 8b424dd42b64453e50a49a4c6fc455584f931b46 Mon Sep 17 00:00:00 2001
|
|
From: Fedora Ninjas <pjones@fedoraproject.org>
|
|
Date: Thu, 23 Jun 2011 00:08:03 +0400
|
|
Subject: [PATCH] Workaround for 'variable set but not used' issue
|
|
|
|
Signed-off-by: Fedora Ninjas <pjones@fedoraproject.org>
|
|
---
|
|
grub-core/lib/relocator.c | 3 +++
|
|
1 files changed, 3 insertions(+), 0 deletions(-)
|
|
|
|
Index: grub-1.99/grub-core/lib/relocator.c
|
|
===================================================================
|
|
--- grub-1.99.orig/grub-core/lib/relocator.c
|
|
+++ grub-1.99/grub-core/lib/relocator.c
|
|
@@ -1021,6 +1021,9 @@ malloc_in_range (struct grub_relocator *
|
|
= ALIGN_UP (alloc_end,
|
|
GRUB_RELOCATOR_FIRMWARE_REQUESTS_QUANT);
|
|
|
|
+ grub_dprintf ("relocator", "requesting %lx-%lx\n",
|
|
+ (unsigned long) fstart,
|
|
+ (unsigned long) fend);
|
|
#if GRUB_RELOCATOR_HAVE_LEFTOVERS
|
|
{
|
|
struct grub_relocator_fw_leftover *lo1 = NULL;
|