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);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to