Add "alignment" param to the request before calling gpart_autofill().

This commit is contained in:
Andrey V. Elsukov 2011-06-16 19:42:03 +00:00
parent d996b98bea
commit beeca17d4c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=223158

View File

@ -927,6 +927,7 @@ gpart_restore(struct gctl_req *req, unsigned int fl __unused)
gctl_ro_param(r, "size", -1, argv[3]);
if (rl != 0 && label != NULL)
gctl_ro_param(r, "label", -1, argv[4]);
gctl_ro_param(r, "alignment", -1, GPART_AUTOFILL);
gctl_ro_param(r, "arg0", -1, s);
error = gpart_autofill(r);
if (error != 0)