]> git.proxmox.com Git - grub2.git/commitdiff
2008-07-01 Pavel Roskin <proski@gnu.org>
authorproski <proski@localhost>
Wed, 2 Jul 2008 01:07:37 +0000 (01:07 +0000)
committerproski <proski@localhost>
Wed, 2 Jul 2008 01:07:37 +0000 (01:07 +0000)
* disk/fs_uuid.c (search_fs_uuid): Correctly increment count.

ChangeLog
disk/fs_uuid.c

index a9feb9ae468d6c24ba74e63914873e0f04de78c2..cf0ddefa40552d111f74c9f6379b2ca2216505de 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 47eb228c0d0581eff1cd4233159f45f6bea7444e..27dffc2f6fb32a2779b571501d19b7b4bcd56594 100644 (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)
                    {