* grub-core/fs/hfsplus.c (grub_hfsplus_label): Use found ptr rather

than 0.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-05-25 00:47:49 +02:00
parent 8360e15969
commit 0a9aa0f6e1
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-05-24 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/hfsplus.c (grub_hfsplus_label): Use found ptr rather
than 0.
2012-05-24 Vladimir Serbinenko <phcoder@gmail.com>
* Makefile.am (starfield_DATA): Add dejavu_bold_14.pf2.

View file

@ -1025,7 +1025,7 @@ grub_hfsplus_label (grub_device_t device, char **label)
}
catkey = (struct grub_hfsplus_catkey *)
grub_hfsplus_btree_recptr (&data->catalog_tree, node, 0);
grub_hfsplus_btree_recptr (&data->catalog_tree, node, ptr);
label_len = grub_be_to_cpu16 (catkey->namelen);
for (i = 0; i < label_len; i++)