mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
1 changed files with 4 additions and 2 deletions
|
|
@ -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 a new issue