mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-12-01 00:48:18 +00:00
Fix a typo...
Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
parent
76df8270f6
commit
543f7e2717
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ Signed-off-by: Peter Jones <pjones@redhat.com>
|
||||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/grub-core/kern/main.c b/grub-core/kern/main.c
|
diff --git a/grub-core/kern/main.c b/grub-core/kern/main.c
|
||||||
index fc8d8c6c9d4..c59b89f0a09 100644
|
index fc8d8c6c9d4..db5238179f8 100644
|
||||||
--- a/grub-core/kern/main.c
|
--- a/grub-core/kern/main.c
|
||||||
+++ b/grub-core/kern/main.c
|
+++ b/grub-core/kern/main.c
|
||||||
@@ -130,8 +130,12 @@ grub_set_prefix_and_root (void)
|
@@ -130,8 +130,12 @@ grub_set_prefix_and_root (void)
|
||||||
|
@ -22,7 +22,7 @@ index fc8d8c6c9d4..c59b89f0a09 100644
|
||||||
+ if (!grub_strncmp(fwdevice, "http", 4) && fwpath[0] != '/')
|
+ if (!grub_strncmp(fwdevice, "http", 4) && fwpath[0] != '/')
|
||||||
+ separator = '/';
|
+ separator = '/';
|
||||||
+
|
+
|
||||||
+ fw_path = grub_xasprintf ("(%s)%c%s", fwdevice, seperator, fwpath);
|
+ fw_path = grub_xasprintf ("(%s)%c%s", fwdevice, separator, fwpath);
|
||||||
if (fw_path)
|
if (fw_path)
|
||||||
{
|
{
|
||||||
grub_env_set ("fw_path", fw_path);
|
grub_env_set ("fw_path", fw_path);
|
||||||
|
|
Loading…
Reference in a new issue