diff options
author | ae <ae@FreeBSD.org> | 2011-06-16 19:42:03 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2011-06-16 19:42:03 +0000 |
commit | c548b40d87f2d3e69c66a78f28b2f88851531460 (patch) | |
tree | 8fcfa6cd317a8b7708d8c82292d634806ec16813 /sbin | |
parent | a005d8ef076768abf644db2bf56b5664fd926e3e (diff) | |
download | FreeBSD-src-c548b40d87f2d3e69c66a78f28b2f88851531460.zip FreeBSD-src-c548b40d87f2d3e69c66a78f28b2f88851531460.tar.gz |
Add "alignment" param to the request before calling gpart_autofill().
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/geom/class/part/geom_part.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/geom/class/part/geom_part.c b/sbin/geom/class/part/geom_part.c index 55a055e..eaf5845 100644 --- a/sbin/geom/class/part/geom_part.c +++ b/sbin/geom/class/part/geom_part.c @@ -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) |