blob: e01fcdffb000ddbeab2fc6877381725a4ddb8307 [file] [log] [blame]
Brad Bishop977dc1a2019-02-06 16:01:43 -05001From 4e9d9358e0cda6d01020005eb6343e3b69f7201a Mon Sep 17 00:00:00 2001
2From: Cao jin <caoj.fnst@cn.fujitsu.com>
3Date: Tue, 3 Jul 2018 18:51:13 +0800
4Subject: [PATCH] grub-setup: Debug message cleanup
5
6Variable "root" is initialized after root device probing and is null in
7current place, so, drop it.
8
9Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
10Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
11---
12Upstream-Status: Backport [http://git.savannah.gnu.org/cgit/grub.git/commit/?id=4e9d9358e0cda6d01020005eb6343e3b69f7201a]
13
14 util/setup.c | 3 +--
15 1 file changed, 1 insertion(+), 2 deletions(-)
16
17diff --git a/util/setup.c b/util/setup.c
18index 80363075d..9c1e1b7da 100644
19--- a/util/setup.c
20+++ b/util/setup.c
21@@ -305,9 +305,8 @@ SETUP (const char *dir,
22 bl.first_block = (struct grub_boot_blocklist *) (core_img
23 + GRUB_DISK_SECTOR_SIZE
24 - sizeof (*bl.block));
25- grub_util_info ("root is `%s', dest is `%s'", root, dest);
26
27- grub_util_info ("Opening dest");
28+ grub_util_info ("Opening dest `%s'", dest);
29 dest_dev = grub_device_open (dest);
30 if (! dest_dev)
31 grub_util_error ("%s", grub_errmsg);
32--
332.17.2 (Apple Git-113)
34