Incorrect drive name was being passed into grub_util_sparc_setup,
causing the grub-install to fail.

Signed-off-by: Eric Snowberg <eric.snowb...@oracle.com>
---
 util/grub-install.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/util/grub-install.c b/util/grub-install.c
index df5c7e5..eabd6de 100644
--- a/util/grub-install.c
+++ b/util/grub-install.c
@@ -1698,7 +1698,7 @@ main (int argc, char *argv[])
        /*  Now perform the installation.  */
        if (install_bootsector)
          grub_util_sparc_setup (platdir, "boot.img", "core.img",
-                                install_device, force,
+                                install_drive, force,
                                 fs_probe, allow_floppy,
                                 0 /* unused */ );
        break;
-- 
1.7.1


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to