mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
#if 0 one more line to make this compile without subr_disklabel.c.
Hopefully forgiven by: scottl
This commit is contained in:
parent
e7df904ba9
commit
552947cc40
1 changed files with 4 additions and 0 deletions
|
|
@ -2496,7 +2496,11 @@ rf_search_label(dev_t dev, struct disklabel *label, RF_AutoConfig_t **ac_list)
|
|||
if (label->d_partitions[i].p_fstype != FS_RAID)
|
||||
continue;
|
||||
|
||||
#if 0 /* GEOM */
|
||||
dev1 = dkmodpart(dev, i);
|
||||
#else
|
||||
dev1 = NULL;
|
||||
#endif
|
||||
if (dev1 == NULL) {
|
||||
rf_printf(1, "dev1 == null\n");
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue