diff --git a/ChangeLog b/ChangeLog index 2236b61aa..1de68adf1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-08-25 Vladimir Serbinenko + + 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 * util/grub.d/00_header.in: Move check for the video backend of diff --git a/loader/i386/bsd.c b/loader/i386/bsd.c index 1b6f1902b..0b9a2b471 100644 --- a/loader/i386/bsd.c +++ b/loader/i386/bsd.c @@ -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) {