* grub-core/fs/fat.c (grub_fat_uuid): Make uppercase to match Linux.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-10-25 21:53:57 +02:00
parent 66b4085033
commit 19832ddb37
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2011-10-25 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/fat.c (grub_fat_uuid): Make uppercase to match Linux.
2011-10-25 Vladimir Serbinenko <phcoder@gmail.com>
Fix symlink handling on iso9660.

View file

@ -1117,9 +1117,12 @@ grub_fat_uuid (grub_device_t device, char **uuid)
data = grub_fat_mount (disk);
if (data)
{
char *ptr;
*uuid = grub_xasprintf ("%04x-%04x",
(grub_uint16_t) (data->uuid >> 16),
(grub_uint16_t) data->uuid);
for (ptr = *uuid; ptr && *ptr; ptr++)
*ptr = grub_toupper (*ptr);
}
else
*uuid = NULL;