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

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

No files matched your search

+3
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;