zfsboot: fix build with WITHOUT_LOADER_GELI
Reviewed by: ian Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D16292
This commit is contained in:
parent
2df45ae0d0
commit
ceab45b744
@ -708,7 +708,9 @@ main(void)
|
||||
setheap(heap_next, heap_end);
|
||||
|
||||
zdsk = malloc(sizeof(struct zfsdsk));
|
||||
#ifdef LOADER_GELI_SUPPORT
|
||||
zdsk->gdev = NULL;
|
||||
#endif
|
||||
zdsk->dsk.drive = *(uint8_t *)PTOV(ARGS);
|
||||
zdsk->dsk.type = zdsk->dsk.drive & DRV_HARD ? TYPE_AD : TYPE_FD;
|
||||
zdsk->dsk.unit = zdsk->dsk.drive & DRV_MASK;
|
||||
|
Loading…
Reference in New Issue
Block a user