2008-07-01 Pavel Roskin <proski@gnu.org>
* disk/fs_uuid.c (search_fs_uuid): Correctly increment count.
This commit is contained in:
parent
8222a04b6f
commit
bf1835b13c
2 changed files with 3 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue