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:
Peter Wemm 2016-05-17 00:24:53 +00:00
parent d567592b68
commit 40f58305bb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299997

View File

@ -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;