diff options
Diffstat (limited to 'sys/geom/geom_bsd.c')
-rw-r--r-- | sys/geom/geom_bsd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/geom/geom_bsd.c b/sys/geom/geom_bsd.c index 7818bbc..f8688e1 100644 --- a/sys/geom/geom_bsd.c +++ b/sys/geom/geom_bsd.c @@ -369,6 +369,7 @@ g_bsd_modify(struct g_geom *gp, struct disklabel *dl) error = g_slice_config(gp, i, G_SLICE_CONFIG_CHECK, (off_t)ppp->p_offset * dl->d_secsize, (off_t)ppp->p_size * dl->d_secsize, + dl->d_secsize, "%s%c", gp->name, 'a' + i); if (error) { g_topology_unlock(); @@ -382,6 +383,7 @@ g_bsd_modify(struct g_geom *gp, struct disklabel *dl) g_slice_config(gp, i, G_SLICE_CONFIG_SET, (off_t)ppp->p_offset * dl->d_secsize, (off_t)ppp->p_size * dl->d_secsize, + dl->d_secsize, "%s%c", gp->name, 'a' + i); } return (0); |