|
|
a5bd9f6 |
From 891878c304ebb9da65969fd53a576305e8c880ab Mon Sep 17 00:00:00 2001
|
|
|
a5bd9f6 |
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
|
|
|
a5bd9f6 |
Date: Mon, 21 Jan 2013 14:57:35 +0100
|
|
|
a5bd9f6 |
Subject: [PATCH 128/364] * grub-core/commands/lsmmap.c: Fix unused
|
|
|
a5bd9f6 |
variable on emu.
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
---
|
|
|
a5bd9f6 |
ChangeLog | 4 ++++
|
|
|
a5bd9f6 |
grub-core/commands/lsmmap.c | 2 +-
|
|
|
a5bd9f6 |
2 files changed, 5 insertions(+), 1 deletion(-)
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
diff --git a/ChangeLog b/ChangeLog
|
|
|
a5bd9f6 |
index 3c7552b..18f350e 100644
|
|
|
a5bd9f6 |
--- a/ChangeLog
|
|
|
a5bd9f6 |
+++ b/ChangeLog
|
|
|
a5bd9f6 |
@@ -1,5 +1,9 @@
|
|
|
a5bd9f6 |
2013-01-21 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
+ * grub-core/commands/lsmmap.c: Fix unused variable on emu.
|
|
|
a5bd9f6 |
+
|
|
|
a5bd9f6 |
+2013-01-21 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
a5bd9f6 |
+
|
|
|
a5bd9f6 |
Improve spkmomdem reliability by adding a separator between bytes.
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
2013-01-21 Colin Watson <cjwatson@ubuntu.com>
|
|
|
a5bd9f6 |
diff --git a/grub-core/commands/lsmmap.c b/grub-core/commands/lsmmap.c
|
|
|
a5bd9f6 |
index 8e7f2a5..c1a05d8 100644
|
|
|
a5bd9f6 |
--- a/grub-core/commands/lsmmap.c
|
|
|
a5bd9f6 |
+++ b/grub-core/commands/lsmmap.c
|
|
|
a5bd9f6 |
@@ -25,6 +25,7 @@
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
GRUB_MOD_LICENSE ("GPLv3+");
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
+#ifndef GRUB_MACHINE_EMU
|
|
|
a5bd9f6 |
static const char *names[] =
|
|
|
a5bd9f6 |
{
|
|
|
a5bd9f6 |
[GRUB_MEMORY_AVAILABLE] = N_("available RAM"),
|
|
|
a5bd9f6 |
@@ -40,7 +41,6 @@ static const char *names[] =
|
|
|
a5bd9f6 |
[GRUB_MEMORY_HOLE] = N_("Address range not associated with RAM")
|
|
|
a5bd9f6 |
};
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
-#ifndef GRUB_MACHINE_EMU
|
|
|
a5bd9f6 |
/* Helper for grub_cmd_lsmmap. */
|
|
|
a5bd9f6 |
static int
|
|
|
a5bd9f6 |
lsmmap_hook (grub_uint64_t addr, grub_uint64_t size, grub_memory_type_t type,
|
|
|
a5bd9f6 |
--
|
|
|
a5bd9f6 |
1.8.1.4
|
|
|
a5bd9f6 |
|