mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/partmap/dvh.c (grub_dvh_is_valid): Add missing byteswap.
This commit is contained in:
1 parent
a40994852d
commit
bcfcea0174
2 files changed
+5
-1
No files matched your search
@@ -1,3 +1,7 @@
|
|||||||
|
2012-09-05 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/partmap/dvh.c (grub_dvh_is_valid): Add missing byteswap.
|
||||||
|
|
||||||
2012-09-05 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-09-05 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/fs/xfs.c (grub_xfs_read_block): Make keys a const pointer.
|
* grub-core/fs/xfs.c (grub_xfs_read_block): Make keys a const pointer.
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ grub_dvh_is_valid (grub_uint32_t *label)
|
|||||||
for (pos = label;
|
for (pos = label;
|
||||||
pos < (label + sizeof (struct grub_dvh_block) / 4);
|
pos < (label + sizeof (struct grub_dvh_block) / 4);
|
||||||
pos++)
|
pos++)
|
||||||
sum += *pos;
|
sum += grub_be_to_cpu32 (*pos);
|
||||||
|
|
||||||
return ! sum;
|
return ! sum;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user