2009-01-26 Daniel Mierswa <impulze@impulze.org>
* commands/search.c (search_fs_uuid): Ignore case of the UUID.
This commit is contained in:
parent
1806b56e2b
commit
336e1fb9ea
2 changed files with 3 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue