chain.c: fix public index value in mbr and gpt iterators
authorMichal Soltys <soltys@ziu.info>
Fri, 30 Jul 2010 06:46:06 +0000 (08:46 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 30 Jul 2010 17:14:24 +0000 (10:14 -0700)
commit8afab2175c3df81fdc532930585003c712a219f1
treec042849fb3ed43e3bb84ce09936116b7b01b436b
parentdc43640b23ba92fca3ee3ea9aeac0da7c01e2c9d
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