grub-setup: Debug message cleanup
Variable "root" is initialized after root device probing and is null in current place, so, drop it. Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
ec2de93f8d
commit
4e9d9358e0
1 changed files with 1 additions and 2 deletions
|
@ -305,9 +305,8 @@ SETUP (const char *dir,
|
||||||
bl.first_block = (struct grub_boot_blocklist *) (core_img
|
bl.first_block = (struct grub_boot_blocklist *) (core_img
|
||||||
+ GRUB_DISK_SECTOR_SIZE
|
+ GRUB_DISK_SECTOR_SIZE
|
||||||
- sizeof (*bl.block));
|
- sizeof (*bl.block));
|
||||||
grub_util_info ("root is `%s', dest is `%s'", root, dest);
|
|
||||||
|
|
||||||
grub_util_info ("Opening dest");
|
grub_util_info ("Opening dest `%s'", dest);
|
||||||
dest_dev = grub_device_open (dest);
|
dest_dev = grub_device_open (dest);
|
||||||
if (! dest_dev)
|
if (! dest_dev)
|
||||||
grub_util_error ("%s", grub_errmsg);
|
grub_util_error ("%s", grub_errmsg);
|
||||||
|
|
Loading…
Reference in a new issue