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
d567592b68
commit
40f58305bb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299997
@ -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