summaryrefslogtreecommitdiffstats
path: root/sys/geom/raid3
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-08-29 14:29:30 +0000
committerpjd <pjd@FreeBSD.org>2004-08-29 14:29:30 +0000
commit3bedfb04b2cefe2e2ca7c268fae679d18c58c846 (patch)
tree0e61f1ded8510a9e7dd73d313821e0d7eaba1081 /sys/geom/raid3
parente39d364e96b0c84e2588cfbef4285f70833236c5 (diff)
downloadFreeBSD-src-3bedfb04b2cefe2e2ca7c268fae679d18c58c846.zip
FreeBSD-src-3bedfb04b2cefe2e2ca7c268fae679d18c58c846.tar.gz
GCC, ehh.
Diffstat (limited to 'sys/geom/raid3')
-rw-r--r--sys/geom/raid3/g_raid3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/raid3/g_raid3.c b/sys/geom/raid3/g_raid3.c
index 19e5b2a..3ff2087 100644
--- a/sys/geom/raid3/g_raid3.c
+++ b/sys/geom/raid3/g_raid3.c
@@ -2733,6 +2733,7 @@ g_raid3_taste(struct g_class *mp, struct g_provider *pp, int flags __unused)
/*
* Let's check if device already exists.
*/
+ sc = NULL;
LIST_FOREACH(gp, &mp->geom, geom) {
sc = gp->softc;
if (sc == NULL)
OpenPOWER on IntegriCloud