Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2010 14:38:52 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r215088 - head/sys/geom/part
Message-ID:  <201011101438.oAAEcqDQ022127@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011101438.oAAEcqDQ022127>