* fs/fat.c (grub_fat_uuid): Fix shift of the first two bytes.
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.
* kern/misc.c (grub_strcasecmp): New function.
if (data)
{
*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);
}
else