--- geom_fox.c.orig Thu Oct 23 18:59:34 2003 +++ geom_fox.c Thu Oct 23 19:00:40 2003 @@ -383,7 +383,7 @@ g_fox_taste(struct g_class *mp, struct g */ LIST_FOREACH(gp2, &mp->geom, geom) { sc2 = gp2->softc; - if (sc == NULL) + if (sc2 == NULL) continue; if (memcmp(buf + 16, sc2->magic, sizeof sc2->magic)) continue; @@ -409,7 +409,7 @@ g_fox_taste(struct g_class *mp, struct g */ printf( "WARNING: New path (%s) to fox(%s) not added: %s\n%s", - cp->provider->name, gp2->name, + cp2->provider->name, gp2->name, "Could not get exclusive bit.", "WARNING: This indicates a risk of data inconsistency." );