diff --git a/grub-core/fs/bfs.c b/grub-core/fs/bfs.c index c16a50f39..a92f3522c 100644 --- a/grub-core/fs/bfs.c +++ b/grub-core/fs/bfs.c @@ -385,7 +385,7 @@ iterate_in_b_tree (grub_disk_t disk, grub_bfs_to_cpu16 (node.total_key_len), 8) + grub_bfs_to_cpu16 (node.count_keys) - * sizeof (grub_uint64_t), + * sizeof (grub_uint16_t), &key_value, sizeof (grub_uint64_t), 0); if (err) return 0;