diff options
author | phk <phk@FreeBSD.org> | 2004-08-08 06:49:07 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-08-08 06:49:07 +0000 |
commit | 8a11f1b4a6e444c06beac9b61cd820cf6b82516f (patch) | |
tree | 93b8d93d433b81dc0f847a70e6344dafaeccf6d8 /sys/geom/geom_sunlabel.c | |
parent | cb84366718580d5c3c1cdea1706a0c06eea5d876 (diff) | |
download | FreeBSD-src-8a11f1b4a6e444c06beac9b61cd820cf6b82516f.zip FreeBSD-src-8a11f1b4a6e444c06beac9b61cd820cf6b82516f.tar.gz |
Use default method initialization on geoms.
Diffstat (limited to 'sys/geom/geom_sunlabel.c')
-rw-r--r-- | sys/geom/geom_sunlabel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_sunlabel.c b/sys/geom/geom_sunlabel.c index 8b11dd9..4225dd5 100644 --- a/sys/geom/geom_sunlabel.c +++ b/sys/geom/geom_sunlabel.c @@ -243,7 +243,6 @@ g_sunlabel_taste(struct g_class *mp, struct g_provider *pp, int flags) if (gp == NULL) return (NULL); gsp = gp->softc; - gp->dumpconf = g_sunlabel_dumpconf; do { if (gp->rank != 2 && flags == G_TF_NORMAL) break; @@ -276,6 +275,7 @@ static struct g_class g_sunlabel_class = { .name = SUNLABEL_CLASS_NAME, .taste = g_sunlabel_taste, .ctlreq = g_sunlabel_config, + .dumpconf = g_sunlabel_dumpconf, }; DECLARE_GEOM_CLASS(g_sunlabel_class, g_sunlabel); |