diff --git a/ChangeLog b/ChangeLog index d615f65eb..c9a38983e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-09-28 Bean + + * fs/ntfs.c (grub_ntfs_iterate_dir): Fix a bug in the previous patch. + Thanks to Christian Franke for finding this bug. + 2008-09-25 Robert Millan * util/grub-mkdevicemap.c (make_device_map): Actually replace all diff --git a/fs/ntfs.c b/fs/ntfs.c index e0e50f164..22477c532 100644 --- a/fs/ntfs.c +++ b/fs/ntfs.c @@ -700,7 +700,7 @@ grub_ntfs_iterate_dir (grub_fshelp_node_t dir, int is_resident = (cur_pos[8] == 0); bitmap_len = ((is_resident) ? u32at (cur_pos, 0x10) : - (cur_pos, 0x28)); + u32at (cur_pos, 0x28)); bmp = grub_malloc (bitmap_len); if (bmp == NULL)