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

This commit is contained in:
Pawel Jakub Dawidek 2010-09-14 16:19:09 +00:00
parent 9a13d2e1b3
commit 56382b5f76
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=212613

View File

@ -302,7 +302,7 @@ gpart_autofill_resize(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);
@ -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);