diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-10-24 18:46:23 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-10-24 18:46:23 +0000 |
| commit | 87ac8d11c23a1897aaa220d537cbc916a84238b4 (patch) | |
| tree | e1f9e577079048cdf2a606dffda640101b928470 /sys | |
| parent | bf838688af9fcabe2534cdb07e6dd18b87be0cbf (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/geom/geom_fox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/geom_fox.c b/sys/geom/geom_fox.c index 1bc7dbec31a3..3178649dba0c 100644 --- a/sys/geom/geom_fox.c +++ b/sys/geom/geom_fox.c @@ -383,7 +383,7 @@ g_fox_taste(struct g_class *mp, struct g_provider *pp, int flags __unused) */ 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_provider *pp, int flags __unused) */ 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." ); |
