Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 2010 16:19:09 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r212613 - head/sbin/geom/class/part
Message-ID:  <201009141619.o8EGJ9jS086163@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pjd
Date: Tue Sep 14 16:19:09 2010
New Revision: 212613
URL: http://svn.freebsd.org/changeset/base/212613

Log:
  Update two last places where "arg0" should be used instead of "geom".

Modified:
  head/sbin/geom/class/part/geom_part.c

Modified: head/sbin/geom/class/part/geom_part.c
==============================================================================
--- head/sbin/geom/class/part/geom_part.c	Tue Sep 14 14:56:34 2010	(r212612)
+++ head/sbin/geom/class/part/geom_part.c	Tue Sep 14 16:19:09 2010	(r212613)
@@ -302,7 +302,7 @@ gpart_autofill_resize(struct gctl_req *r
 	cp = find_class(&mesh, s);
 	if (cp == NULL)
 		errx(EXIT_FAILURE, "Class %s not found.", s);
-	s = gctl_get_ascii(req, "geom");
+	s = gctl_get_ascii(req, "arg0");
 	if (s == NULL)
 		abort();
 	gp = find_geom(cp, s);
@@ -411,7 +411,7 @@ gpart_autofill(struct gctl_req *req)
 	cp = find_class(&mesh, s);
 	if (cp == NULL)
 		errx(EXIT_FAILURE, "Class %s not found.", s);
-	s = gctl_get_ascii(req, "geom");
+	s = gctl_get_ascii(req, "arg0");
 	if (s == NULL)
 		abort();
 	gp = find_geom(cp, s);



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