diff --git a/ChangeLog b/ChangeLog index a9feb9ae4..cf0ddefa4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2008-07-01 Pavel Roskin + * 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. diff --git a/disk/fs_uuid.c b/disk/fs_uuid.c index 47eb228c0..27dffc2f6 100644 --- a/disk/fs_uuid.c +++ b/disk/fs_uuid.c @@ -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) {