commit-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[1959] 2009-01-26 Daniel Mierswa <address@hidden>


From: Pavel Roskin
Subject: [1959] 2009-01-26 Daniel Mierswa <address@hidden>
Date: Mon, 26 Jan 2009 04:35:57 +0000

Revision: 1959
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1959
Author:   proski
Date:     2009-01-26 04:35:57 +0000 (Mon, 26 Jan 2009)

Log Message:
-----------
2009-01-26  Daniel Mierswa  <address@hidden>

        * fs/fat.c (grub_fat_uuid): Fix shift of the first two bytes.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/fs/fat.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog       2009-01-26 04:26:47 UTC (rev 1958)
+++ trunk/grub2/ChangeLog       2009-01-26 04:35:57 UTC (rev 1959)
@@ -1,5 +1,7 @@
 2009-01-26  Daniel Mierswa  <address@hidden>
 
+       * 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.

Modified: trunk/grub2/fs/fat.c
===================================================================
--- trunk/grub2/fs/fat.c        2009-01-26 04:26:47 UTC (rev 1958)
+++ trunk/grub2/fs/fat.c        2009-01-26 04:35:57 UTC (rev 1959)
@@ -841,7 +841,7 @@
   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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]