diff options
| author | Wuyang Chung <wy-chung@outlook.com> | 2025-07-29 03:42:24 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2025-09-05 18:42:21 +0000 |
| commit | 656f7f43f204ad1e6956f8257f66b50e032a6c61 (patch) | |
| tree | 126c633f96d3314ef8d97581c72b2a30ffd73311 /sys/geom/multipath | |
| parent | 1167a7d065f8a6265cc8e28025944a2f848e3a7e (diff) | |
Diffstat (limited to 'sys/geom/multipath')
| -rw-r--r-- | sys/geom/multipath/g_multipath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/multipath/g_multipath.c b/sys/geom/multipath/g_multipath.c index a4935df7eaa1..250a2c60ffee 100644 --- a/sys/geom/multipath/g_multipath.c +++ b/sys/geom/multipath/g_multipath.c @@ -549,7 +549,7 @@ g_multipath_create(struct g_class *mp, struct g_multipath_metadata *md) } } - gp = g_new_geomf(mp, "%s", md->md_name); + gp = g_new_geom(mp, md->md_name); sc = g_malloc(sizeof(*sc), M_WAITOK | M_ZERO); mtx_init(&sc->sc_mtx, "multipath", NULL, MTX_DEF); memcpy(sc->sc_uuid, md->md_uuid, sizeof(sc->sc_uuid)); @@ -821,7 +821,7 @@ g_multipath_taste(struct g_class *mp, struct g_provider *pp, int flags __unused) g_topology_assert(); - gp = g_new_geomf(mp, "multipath:taste"); + gp = g_new_geom(mp, "multipath:taste"); gp->start = g_multipath_start; gp->access = g_multipath_access; gp->orphan = g_multipath_orphan; |
