diff options
| author | Jaakko Heinonen <jh@FreeBSD.org> | 2012-11-20 12:32:18 +0000 |
|---|---|---|
| committer | Jaakko Heinonen <jh@FreeBSD.org> | 2012-11-20 12:32:18 +0000 |
| commit | 02c62349c93f29b881498630c7a0623540255764 (patch) | |
| tree | d75016205cbfeb373d0f3a16c6943a09f85df034 /sys/geom/multipath | |
| parent | 7a4385053091e8cb67bcabb24e9b850162f2750a (diff) | |
Notes
Diffstat (limited to 'sys/geom/multipath')
| -rw-r--r-- | sys/geom/multipath/g_multipath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/multipath/g_multipath.c b/sys/geom/multipath/g_multipath.c index 7ca0082fb489..8b6337602668 100644 --- a/sys/geom/multipath/g_multipath.c +++ b/sys/geom/multipath/g_multipath.c @@ -429,7 +429,7 @@ g_multipath_create(struct g_class *mp, struct g_multipath_metadata *md) } } - gp = g_new_geomf(mp, md->md_name); + gp = g_new_geomf(mp, "%s", 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)); |
