2009-01-26 Daniel Mierswa <impulze@impulze.org>
* fs/fat.c (grub_fat_uuid): Fix shift of the first two bytes.
This commit is contained in:
parent
336e1fb9ea
commit
3fb18f094d
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
2009-01-26 Daniel Mierswa <impulze@impulze.org>
|
2009-01-26 Daniel Mierswa <impulze@impulze.org>
|
||||||
|
|
||||||
|
* fs/fat.c (grub_fat_uuid): Fix shift of the first two bytes.
|
||||||
|
|
||||||
* commands/search.c (search_fs_uuid): Ignore case of the UUID.
|
* commands/search.c (search_fs_uuid): Ignore case of the UUID.
|
||||||
|
|
||||||
* kern/misc.c (grub_strcasecmp): New function.
|
* kern/misc.c (grub_strcasecmp): New function.
|
||||||
|
|
2
fs/fat.c
2
fs/fat.c
|
@ -841,7 +841,7 @@ grub_fat_uuid (grub_device_t device, char **uuid)
|
||||||
if (data)
|
if (data)
|
||||||
{
|
{
|
||||||
*uuid = grub_malloc (sizeof ("xxxx-xxxx"));
|
*uuid = grub_malloc (sizeof ("xxxx-xxxx"));
|
||||||
grub_sprintf (*uuid, "%04x-%04x", (grub_uint16_t) (data->uuid >> 8),
|
grub_sprintf (*uuid, "%04x-%04x", (grub_uint16_t) (data->uuid >> 16),
|
||||||
(grub_uint16_t) data->uuid);
|
(grub_uint16_t) data->uuid);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue