summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2010-09-14 16:19:09 +0000
committerpjd <pjd@FreeBSD.org>2010-09-14 16:19:09 +0000
commit2042c5c81576e719feab526092071a1e00f3b805 (patch)
tree138e4f38230403f2601c855e9326d3fbe843c4cc /sbin
parent9525362ceeccf6887d11f6652a99c34f347d80cc (diff)
downloadFreeBSD-src-2042c5c81576e719feab526092071a1e00f3b805.zip
FreeBSD-src-2042c5c81576e719feab526092071a1e00f3b805.tar.gz
Update two last places where "arg0" should be used instead of "geom".
Diffstat (limited to 'sbin')
-rw-r--r--sbin/geom/class/part/geom_part.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/geom/class/part/geom_part.c b/sbin/geom/class/part/geom_part.c
index a0b84c2..0f2ccca 100644
--- a/sbin/geom/class/part/geom_part.c
+++ b/sbin/geom/class/part/geom_part.c
@@ -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);
OpenPOWER on IntegriCloud