svn commit: r215088 - head/sys/geom/part

Andrey V. Elsukov ae at FreeBSD.org
Wed Nov 10 14:38:52 UTC 2010


Author: ae
Date: Wed Nov 10 14:38:51 2010
New Revision: 215088
URL: http://svn.freebsd.org/changeset/base/215088

Log:
  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)

Modified:
  head/sys/geom/part/g_part.c

Modified: head/sys/geom/part/g_part.c
==============================================================================
--- head/sys/geom/part/g_part.c	Wed Nov 10 14:33:09 2010	(r215087)
+++ head/sys/geom/part/g_part.c	Wed Nov 10 14:38:51 2010	(r215088)
@@ -748,7 +748,7 @@ g_part_ctl_create(struct gctl_req *req, 
 	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) {


More information about the svn-src-head mailing list