diff --git a/ChangeLog b/ChangeLog index a88fadf14..bab56b233 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2009-01-26 Daniel Mierswa + * 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. diff --git a/commands/search.c b/commands/search.c index caaee524d..a07259a65 100644 --- a/commands/search.c +++ b/commands/search.c @@ -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++;