* grub-core/fs/ntfs.c (grub_ntfs_uuid): Make uppercase.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-11-06 21:54:24 +01:00
parent 6972dea937
commit 34706ddc06
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2010-11-06 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/ntfs.c (grub_ntfs_uuid): Make uppercase.
2010-11-06 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-install.in: Replace useless recomendation to pass

View file

@ -1072,7 +1072,11 @@ grub_ntfs_uuid (grub_device_t device, char **uuid)
data = grub_ntfs_mount (disk);
if (data)
{
char *ptr;
*uuid = grub_xasprintf ("%016llx", (unsigned long long) data->uuid);
if (*uuid)
for (ptr = *uuid; *ptr; ptr++)
*ptr = grub_toupper (*ptr);
}
else
*uuid = NULL;