2006-04-30 Marco Gerards <marco@gnu.org>

* fs/hfsplus.c (grub_hfsplus_iterate_dir): Correctly calculate the
	size of the extents in a catalog file record.
This commit is contained in:
marco_g 2006-04-30 13:57:19 +00:00
parent eaef05533f
commit a27e84ce7b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-04-30 Marco Gerards <marco@gnu.org>
* fs/hfsplus.c (grub_hfsplus_iterate_dir): Correctly calculate the
size of the extents in a catalog file record.
2006-04-29 Marco Gerards <marco@gnu.org>
* commands/configfile.c (grub_cmd_configfile): Execute the

View File

@ -761,7 +761,7 @@ grub_hfsplus_iterate_dir (grub_fshelp_node_t dir,
node->data = dir->data;
grub_memcpy (node->extents, fileinfo->data.extents,
sizeof (*node->extents));
sizeof (node->extents));
node->size = grub_be_to_cpu64 (fileinfo->data.size);
node->fileid = grub_be_to_cpu32 (fileinfo->fileid);