From: Michal Soltys Date: Thu, 14 Feb 2013 15:51:46 +0000 (+0100) Subject: com32/chain: (partiter) add cebr_siz for completness X-Git-Tag: syslinux-5.02-pre3~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=36a91634e36cd73627fd8c8264ad1a2faf1e7081;p=platform%2Fupstream%2Fsyslinux.git com32/chain: (partiter) add cebr_siz for completness Might be useful at some and/or when partiter becomes a non-chain specific code. Signed-off-by: Michal Soltys --- diff --git a/com32/chain/partiter.c b/com32/chain/partiter.c index 8d0c272..ced3a45 100644 --- a/com32/chain/partiter.c +++ b/com32/chain/partiter.c @@ -360,6 +360,7 @@ static int dos_next_ebr(struct part_iter *iter, uint32_t *lba, dp = ((struct disk_dos_mbr *)iter->data)->table; iter->dos.cebr_lba = iter->dos.nebr_lba; + iter->dos.cebr_siz = iter->dos.nebr_siz; /* setup next frame values */ if (dp[1].ostype) { diff --git a/com32/chain/partiter.h b/com32/chain/partiter.h index ab4922c..13dec84 100644 --- a/com32/chain/partiter.h +++ b/com32/chain/partiter.h @@ -77,6 +77,7 @@ struct part_iter { uint32_t bebr_siz; /* size of base extended partition */ uint32_t cebr_lba; /* absolute lba of curr ext. partition */ + uint32_t cebr_siz; /* size of curr ext. partition */ uint32_t nebr_lba; /* absolute lba of next ext. partition */ uint32_t nebr_siz; /* size of next ext. partition */