svn commit: r212613 - head/sbin/geom/class/part

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Sep 14 16:19:09 UTC 2010


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);


More information about the svn-src-head mailing list