mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/fs/fat.c (grub_fat_uuid): Make uppercase to match Linux.
This commit is contained in:
1 parent
66b4085033
commit
19832ddb37
2 files changed
+7
No files matched your search
@@ -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>
|
2011-10-25 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Fix symlink handling on iso9660.
|
Fix symlink handling on iso9660.
|
||||||
|
|||||||
@@ -1117,9 +1117,12 @@ grub_fat_uuid (grub_device_t device, char **uuid)
|
|||||||
data = grub_fat_mount (disk);
|
data = grub_fat_mount (disk);
|
||||||
if (data)
|
if (data)
|
||||||
{
|
{
|
||||||
|
char *ptr;
|
||||||
*uuid = grub_xasprintf ("%04x-%04x",
|
*uuid = grub_xasprintf ("%04x-%04x",
|
||||||
(grub_uint16_t) (data->uuid >> 16),
|
(grub_uint16_t) (data->uuid >> 16),
|
||||||
(grub_uint16_t) data->uuid);
|
(grub_uint16_t) data->uuid);
|
||||||
|
for (ptr = *uuid; ptr && *ptr; ptr++)
|
||||||
|
*ptr = grub_toupper (*ptr);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
*uuid = NULL;
|
*uuid = NULL;
|
||||||
|
|||||||
Reference in new issue
Block a user