grub2/0240-grub-core-partmap-apple.c-apple_partition_map_iterat.patch
Peter Jones f74b50e380 Rebase to upstream, fix a pile of bugs. The usual.
Signed-off-by: Peter Jones <pjones@redhat.com>
2013-06-12 15:37:08 -04:00

52 lines
1.7 KiB
Diff

From 47d846664c3791668cdff2c1d307e193687be1aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rados=C5=82aw=20Szymczyszyn?= <lavrin@gmail.com>
Date: Mon, 1 Apr 2013 02:58:47 +0200
Subject: [PATCH 240/482] * grub-core/partmap/apple.c
(apple_partition_map_iterate): Add missing closing bracket.
---
ChangeLog | 5 +++++
grub-core/partmap/apple.c | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 18c871f..969a90f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2013-04-01 Radosław Szymczyszyn <lavrin@gmail.com>
+ * grub-core/partmap/apple.c (apple_partition_map_iterate): Add
+ missing closing bracket.
+
+2013-04-01 Radosław Szymczyszyn <lavrin@gmail.com>
+
* INSTALL: Mention xorriso requirement.
2013-03-31 Andrey Borzenkov <arvidjaar@gmail.com>
diff --git a/grub-core/partmap/apple.c b/grub-core/partmap/apple.c
index f4e608f..c3ead0f 100644
--- a/grub-core/partmap/apple.c
+++ b/grub-core/partmap/apple.c
@@ -118,7 +118,7 @@ apple_partition_map_iterate (grub_disk_t disk,
if (grub_be_to_cpu16 (aheader.magic) != GRUB_APPLE_HEADER_MAGIC)
{
grub_dprintf ("partition",
- "bad magic (found 0x%x; wanted 0x%x\n",
+ "bad magic (found 0x%x; wanted 0x%x)\n",
grub_be_to_cpu16 (aheader.magic),
GRUB_APPLE_HEADER_MAGIC);
goto fail;
@@ -138,7 +138,7 @@ apple_partition_map_iterate (grub_disk_t disk,
if (grub_be_to_cpu16 (apart.magic) != GRUB_APPLE_PART_MAGIC)
{
grub_dprintf ("partition",
- "partition %d: bad magic (found 0x%x; wanted 0x%x\n",
+ "partition %d: bad magic (found 0x%x; wanted 0x%x)\n",
partno, grub_be_to_cpu16 (apart.magic),
GRUB_APPLE_PART_MAGIC);
break;
--
1.8.2.1