Attempt to fix r299660:
slba is used only for the GPT case. elba is used if either GPT or LOADER_GELI_SUPPORT is enabled.
This commit is contained in:
parent
ff8f50ec23
commit
943e6c971c
@ -397,10 +397,12 @@ probe_drive(struct dsk *dsk)
|
||||
struct gpt_hdr hdr;
|
||||
struct gpt_ent *ent;
|
||||
unsigned part, entries_per_sec;
|
||||
daddr_t slba;
|
||||
#endif
|
||||
#ifdef LOADER_GELI_SUPPORT
|
||||
daddr_t slba, elba;
|
||||
#if defined(GPT) || defined(LOADER_GELI_SUPPORT)
|
||||
daddr_t elba;
|
||||
#endif
|
||||
|
||||
struct dos_partition *dp;
|
||||
char *sec;
|
||||
unsigned i;
|
||||
|
Loading…
Reference in New Issue
Block a user