2008-07-01 Pavel Roskin <proski@gnu.org>

* disk/fs_uuid.c (search_fs_uuid): Correctly increment count.
This commit is contained in:
proski 2008-07-02 01:07:37 +00:00
parent 8222a04b6f
commit bf1835b13c
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2008-07-01 Pavel Roskin <proski@gnu.org>
* disk/fs_uuid.c (search_fs_uuid): Correctly increment count.
* normal/parser.y: Define YYENABLE_NLS as 0 to fix warnings.
* term/tparm.c (analyze): Always set *popcount.

View File

@ -50,7 +50,7 @@ search_fs_uuid (const char *key, unsigned long *count)
(fs->uuid) (dev, &uuid);
if (grub_errno == GRUB_ERR_NONE && uuid)
{
*count++;
(*count)++;
if (grub_strcmp (uuid, key) == 0)
{