]> git.proxmox.com Git - grub2.git/commitdiff
2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
authorphcoder <phcoder@localhost>
Tue, 25 Aug 2009 19:57:18 +0000 (19:57 +0000)
committerphcoder <phcoder@localhost>
Tue, 25 Aug 2009 19:57:18 +0000 (19:57 +0000)
Cleanup NetBSD root support.

* loader/i386/bsd.c (grub_netbsd_boot): Remove call to
grub_bsd_get_device.
Fix typo.

ChangeLog
loader/i386/bsd.c

index 2236b61aaea7dbe56852b29ce3c4e2267c2841bf..1de68adf15be611bb6e779d4b032db39d4e86329 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-08-25  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       Cleanup NetBSD root support.
+
+       * loader/i386/bsd.c (grub_netbsd_boot): Remove call to
+       grub_bsd_get_device.
+       Fix typo.
+
 2009-08-25  Felix Zielcke  <fzielcke@z-51.de>
 
        * util/grub.d/00_header.in: Move check for the video backend of
index 1b6f1902bebb2adee7535dd6ddcf9754f8e334d9..0b9a2b4719423d6bfa4bc7b9aa701afa0f5c2f50 100644 (file)
@@ -626,14 +626,11 @@ static grub_err_t
 grub_netbsd_boot (void)
 {
   struct grub_netbsd_bootinfo *bootinfo;
-  grub_uint32_t biosdev, unit, slice, part;
-
-  grub_bsd_get_device (&biosdev, &unit, &slice, &part);
 
   if (kern_end + sizeof (struct grub_netbsd_btinfo_rootdevice)
       + sizeof (struct grub_netbsd_bootinfo) > grub_os_area_addr
       + grub_os_area_size)
-    return grub_error (GRUB_ERR_OUT_OF_MEMORY, "No memory fo boot info.");
+    return grub_error (GRUB_ERR_OUT_OF_MEMORY, "No memory for boot info.");
 
   if (netbsd_root)
     {