From 552947cc401ecead6373ef7db252d8c231110c19 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Mon, 20 Jan 2003 19:43:46 +0000 Subject: [PATCH] #if 0 one more line to make this compile without subr_disklabel.c. Hopefully forgiven by: scottl --- sys/dev/raidframe/rf_freebsdkintf.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/dev/raidframe/rf_freebsdkintf.c b/sys/dev/raidframe/rf_freebsdkintf.c index fdd3d8b678a..e2b2508349d 100644 --- a/sys/dev/raidframe/rf_freebsdkintf.c +++ b/sys/dev/raidframe/rf_freebsdkintf.c @@ -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;