aboutsummaryrefslogtreecommitdiffstats
path: root/com32/chain/partiter.h
diff options
context:
space:
mode:
authorMichal Soltys <soltys@ziu.info>2013-02-14 16:51:46 +0100
committerMichal Soltys <soltys@ziu.info>2013-02-14 16:53:05 +0100
commit7967456288ac936c654d3da118e36a552ccfbda5 (patch)
tree53557958765523bb815df1ca0c2e59c3d2617314 /com32/chain/partiter.h
parented26fef5f0f0deb56abc68857b139c93e5486813 (diff)
downloadsyslinux-7967456288ac936c654d3da118e36a552ccfbda5.tar.gz
syslinux-7967456288ac936c654d3da118e36a552ccfbda5.tar.xz
syslinux-7967456288ac936c654d3da118e36a552ccfbda5.zip
com32/chain: partiter: rename start_lba
disk.c also uses start_lba and it can mean few different things depending on context (disk relative, BEBR relative, current EBR relative). partiter's main offset is always a disk relative value. To make it more distinct and avoid suggestion the value is simply a copy of the one from disk_dos_part_entry, we rename it to more fitting abs_lba. Signed-off-by: Michal Soltys <soltys@ziu.info>
Diffstat (limited to 'com32/chain/partiter.h')
-rw-r--r--com32/chain/partiter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/chain/partiter.h b/com32/chain/partiter.h
index 31df785a..3d2a151b 100644
--- a/com32/chain/partiter.h
+++ b/com32/chain/partiter.h
@@ -64,7 +64,7 @@ struct part_iter {
const struct itertype *type;
char *data;
char *record;
- uint64_t start_lba;
+ uint64_t abs_lba;
uint64_t length;
int index0; /* including holes, from -1 (disk, then parts from 0) */
int index; /* excluding holes, from 0 (disk, then parts from 1), -1 means hole, if PIF_STEPALL is set */