]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-01-26 Daniel Mierswa <impulze@impulze.org>
authorproski <proski@localhost>
Mon, 26 Jan 2009 04:26:47 +0000 (04:26 +0000)
committerproski <proski@localhost>
Mon, 26 Jan 2009 04:26:47 +0000 (04:26 +0000)
* commands/search.c (search_fs_uuid): Ignore case of the UUID.

ChangeLog
commands/search.c

index a88fadf14c6cd019cc4e58c7fa2f10d40c452edb..bab56b2334764859a490f13c1f51aa1ebee61736 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2009-01-26  Daniel Mierswa  <impulze@impulze.org>
 
+       * commands/search.c (search_fs_uuid): Ignore case of the UUID.
+
        * kern/misc.c (grub_strcasecmp): New function.
        (grub_strcasecmp): Use grub_size_t instead of int for length.
        Fix return value.
index caaee524d0275fef609ecddab547df08ea3c761e..a07259a653994675ce95e91568d228d5c8cdf335 100644 (file)
@@ -115,7 +115,7 @@ search_fs_uuid (const char *key, const char *var)
              (fs->uuid) (dev, &uuid);
              if (grub_errno == GRUB_ERR_NONE && uuid)
                {
-                 if (grub_strcmp (uuid, key) == 0)
+                 if (grub_strcasecmp (uuid, key) == 0)
                    {
                      /* Found!  */
                      count++;