sparc64 - use correct drive name within grub_util_sparc_setup
authorEric Snowberg <eric.snowberg@oracle.com>
Tue, 6 Oct 2015 17:21:43 +0000 (13:21 -0400)
committerAndrei Borzenkov <arvidjaar@gmail.com>
Wed, 7 Oct 2015 16:51:57 +0000 (19:51 +0300)
Incorrect drive name was being passed into grub_util_sparc_setup,
causing the grub-install to fail.

Signed-off-by: Eric Snowberg <eric.snowberg@oracle.com>
util/grub-install.c

index df5c7e5..eabd6de 100644 (file)
@@ -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;