diff --git a/ChangeLog b/ChangeLog index fbef0c3ea..0cf6bea9a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-09-05 Vladimir Serbinenko + + * grub-core/fs/xfs.c (grub_xfs_read_block): Make keys a const pointer. + 2012-09-04 Colin Watson * Makefile.am (EXTRA_DIST): Add linguas.sh. It's only strictly diff --git a/grub-core/fs/xfs.c b/grub-core/fs/xfs.c index 2c6b00c2a..1ed048fd3 100644 --- a/grub-core/fs/xfs.c +++ b/grub-core/fs/xfs.c @@ -285,7 +285,7 @@ grub_xfs_read_block (grub_fshelp_node_t node, grub_disk_addr_t fileblock) if (node->inode.format == XFS_INODE_FORMAT_BTREE) { - grub_uint64_t *keys; + const grub_uint64_t *keys; int recoffset; leaf = grub_malloc (node->data->bsize);