* grub-core/fs/nilfs2.c (grub_nilfs2_uuid): Add missing field length.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-10-27 02:52:54 +02:00
parent 1869edb5bc
commit 52a050751b
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2011-10-26 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/nilfs2.c (grub_nilfs2_uuid): Add missing field length.
2011-10-26 Vladimir Serbinenko <phcoder@gmail.com> 2011-10-26 Vladimir Serbinenko <phcoder@gmail.com>
ZFS multi-device and version 33 support. ZFS multi-device and version 33 support.

View file

@ -1117,7 +1117,7 @@ grub_nilfs2_uuid (grub_device_t device, char **uuid)
{ {
*uuid = *uuid =
grub_xasprintf grub_xasprintf
("%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%0x-%02x%02x%02x%02x%02x%02x", ("%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x",
data->sblock.s_uuid[0], data->sblock.s_uuid[1], data->sblock.s_uuid[0], data->sblock.s_uuid[1],
data->sblock.s_uuid[2], data->sblock.s_uuid[3], data->sblock.s_uuid[2], data->sblock.s_uuid[3],
data->sblock.s_uuid[4], data->sblock.s_uuid[5], data->sblock.s_uuid[4], data->sblock.s_uuid[5],