mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 07:12:39 +00:00
* grub-core/fs/hfsplus.c (grub_hfsplus_label): Use found ptr rather
than 0.
This commit is contained in:
1 parent
8360e15969
commit
0a9aa0f6e1
2 files changed
+6
-1
No files matched your search
@@ -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++)
|
||||
|
||||
Reference in new issue
Block a user