* grub-core/fs/xfs.c (grub_xfs_read_block): Make keys a const pointer.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-09-05 08:45:07 +02:00
parent 265c162a28
commit a40994852d
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2012-09-05 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/xfs.c (grub_xfs_read_block): Make keys a const pointer.
2012-09-04 Colin Watson <cjwatson@ubuntu.com>
* Makefile.am (EXTRA_DIST): Add linguas.sh. It's only strictly

View file

@ -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);