* grub-core/loader/i386/xnu.c (grub_xnu_devprop_remove_property): Fix

incorrect pointer.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-12-13 16:20:25 +01:00
parent b70b6d1107
commit c2e777777b
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/loader/i386/xnu.c (grub_xnu_devprop_remove_property): Fix
incorrect pointer.
2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/pata.c (grub_pata_pio_read): Handle unaligned buffer.

View file

@ -226,7 +226,7 @@ grub_xnu_devprop_remove_property (struct grub_xnu_devprop_device_descriptor *dev
char *name)
{
struct property_descriptor *prop;
prop = grub_named_list_find (GRUB_AS_NAMED_LIST_P (&dev->properties), name);
prop = grub_named_list_find (GRUB_AS_NAMED_LIST (dev->properties), name);
if (!prop)
return GRUB_ERR_NONE;