* grub-core/fs/hfsplus.c (grub_hfsplus_label): Use found ptr rather
than 0.
This commit is contained in:
parent
8360e15969
commit
0a9aa0f6e1
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2012-05-24 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* Makefile.am (starfield_DATA): Add dejavu_bold_14.pf2.
|
* Makefile.am (starfield_DATA): Add dejavu_bold_14.pf2.
|
||||||
|
|
|
@ -1025,7 +1025,7 @@ grub_hfsplus_label (grub_device_t device, char **label)
|
||||||
}
|
}
|
||||||
|
|
||||||
catkey = (struct grub_hfsplus_catkey *)
|
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);
|
label_len = grub_be_to_cpu16 (catkey->namelen);
|
||||||
for (i = 0; i < label_len; i++)
|
for (i = 0; i < label_len; i++)
|
||||||
|
|
Loading…
Reference in a new issue