chain.c: fix public index value in mbr and gpt iterators
authorMichal Soltys <soltys@ziu.info>
Fri, 30 Jul 2010 06:46:07 +0000 (08:46 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 30 Jul 2010 17:13:48 +0000 (10:13 -0700)
commited879e7b26cda15f191a2ef337a959be46601757
treed86f829fdb2d215f4e2b8fb291acd8aac76708e9
parente841d6983b3f161a0a8566e8a8b3b18d83e845cf
chain.c: fix public index value in mbr and gpt iterators

mbr and gpt iterators skip empty / non-data partitions properly, but don't
update publicly visible index. With this patch, such partitions are counted as
well.

Signed-off-by: Michal Soltys <soltys@ziu.info>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/modules/chain.c