* 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
|
@ -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++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue