Update two last places where "arg0" should be used instead of "geom".
This commit is contained in:
parent
9a13d2e1b3
commit
56382b5f76
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=212613
@ -302,7 +302,7 @@ gpart_autofill_resize(struct gctl_req *req)
|
|||||||
cp = find_class(&mesh, s);
|
cp = find_class(&mesh, s);
|
||||||
if (cp == NULL)
|
if (cp == NULL)
|
||||||
errx(EXIT_FAILURE, "Class %s not found.", s);
|
errx(EXIT_FAILURE, "Class %s not found.", s);
|
||||||
s = gctl_get_ascii(req, "geom");
|
s = gctl_get_ascii(req, "arg0");
|
||||||
if (s == NULL)
|
if (s == NULL)
|
||||||
abort();
|
abort();
|
||||||
gp = find_geom(cp, s);
|
gp = find_geom(cp, s);
|
||||||
@ -411,7 +411,7 @@ gpart_autofill(struct gctl_req *req)
|
|||||||
cp = find_class(&mesh, s);
|
cp = find_class(&mesh, s);
|
||||||
if (cp == NULL)
|
if (cp == NULL)
|
||||||
errx(EXIT_FAILURE, "Class %s not found.", s);
|
errx(EXIT_FAILURE, "Class %s not found.", s);
|
||||||
s = gctl_get_ascii(req, "geom");
|
s = gctl_get_ascii(req, "arg0");
|
||||||
if (s == NULL)
|
if (s == NULL)
|
||||||
abort();
|
abort();
|
||||||
gp = find_geom(cp, s);
|
gp = find_geom(cp, s);
|
||||||
|
Loading…
Reference in New Issue
Block a user