diff options
Diffstat (limited to 'sys/geom/geom_vol_ffs.c')
-rw-r--r-- | sys/geom/geom_vol_ffs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/geom_vol_ffs.c b/sys/geom/geom_vol_ffs.c index f6fd88e..c21b1b6 100644 --- a/sys/geom/geom_vol_ffs.c +++ b/sys/geom/geom_vol_ffs.c @@ -62,7 +62,7 @@ g_vol_ffs_taste(struct g_class *mp, struct g_provider *pp, int flags) struct g_geom *gp; struct g_consumer *cp; struct g_vol_ffs_softc *ms; - int error, sb, superblock; + int sb, superblock; struct fs *fs; g_trace(G_T_TOPOLOGY, "vol_taste(%s,%s)", mp->name, pp->name); @@ -99,7 +99,7 @@ g_vol_ffs_taste(struct g_class *mp, struct g_provider *pp, int flags) continue; fs = (struct fs *) g_read_data(cp, superblock, - SBLOCKSIZE, &error); + SBLOCKSIZE, NULL); if (fs == NULL) continue; /* Check for magic and make sure things are the right size */ |