[2533] 2009-08-25 Vladimir Serbinenko <[email protected]>

Vladimir Serbinenko <[email protected]> Tue, 25 Aug 2009 19:57:19 +0000
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2533
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2533
Author:   phcoder
Date:     2009-08-25 19:57:18 +0000 (Tue, 25 Aug 2009)
Log Message:
-----------
2009-08-25  Vladimir Serbinenko  <[email protected]>

	Cleanup NetBSD root support.

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

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/loader/i386/bsd.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-08-25 19:42:56 UTC (rev 2532)
+++ trunk/grub2/ChangeLog	2009-08-25 19:57:18 UTC (rev 2533)
@@ -1,3 +1,11 @@
+2009-08-25  Vladimir Serbinenko  <[email protected]>
+
+	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  <[email protected]>
 
 	* util/grub.d/00_header.in: Move check for the video backend of

Modified: trunk/grub2/loader/i386/bsd.c
===================================================================
--- trunk/grub2/loader/i386/bsd.c	2009-08-25 19:42:56 UTC (rev 2532)
+++ trunk/grub2/loader/i386/bsd.c	2009-08-25 19:57:18 UTC (rev 2533)
@@ -626,14 +626,11 @@
 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)
     {