summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2010-11-10 14:38:51 +0000
committerae <ae@FreeBSD.org>2010-11-10 14:38:51 +0000
commit802c192516ab05ee8200c9ecc0eb184d460c1972 (patch)
treefa3ef5a5466ce8d5ef6b8b84d6282bf691a54716 /sys/geom
parenta72d8ff0d6c30cb58341aaf6593bdd0a70314731 (diff)
downloadFreeBSD-src-802c192516ab05ee8200c9ecc0eb184d460c1972.zip
FreeBSD-src-802c192516ab05ee8200c9ecc0eb184d460c1972.tar.gz
In r212554 name of G_PART_PARM_GEOM and G_PART_PARM_PROVIDER
ctlreq parameters was changed to "arg0". Fix the last place where it is used. Approved by: kib (mentor)
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/part/g_part.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/part/g_part.c b/sys/geom/part/g_part.c
index 155daae..65ad525 100644
--- a/sys/geom/part/g_part.c
+++ b/sys/geom/part/g_part.c
@@ -748,7 +748,7 @@ g_part_ctl_create(struct gctl_req *req, struct g_part_parms *gpp)
g_topology_assert();
/* Check that there isn't already a g_part geom on the provider. */
- error = g_part_parm_geom(req, "provider", &gp);
+ error = g_part_parm_geom(req, "arg0", &gp);
if (!error) {
null = gp->softc;
if (null->gpt_scheme != &g_part_null_scheme) {
OpenPOWER on IntegriCloud