summaryrefslogtreecommitdiffstats
path: root/sbin/geom
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-05-16 22:21:33 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-05-16 22:21:33 +0000
commit9090794d6cc9b8867376522131d6ff69824038a7 (patch)
treed1b866f7d301b4bec265f000dad8c55d69b27f08 /sbin/geom
parentb7a63fb85cd07072afa8e91201882f5a9c432e55 (diff)
downloadFreeBSD-src-9090794d6cc9b8867376522131d6ff69824038a7.zip
FreeBSD-src-9090794d6cc9b8867376522131d6ff69824038a7.tar.gz
Teach gpart about bootcode on APM.
Diffstat (limited to 'sbin/geom')
-rw-r--r--sbin/geom/class/part/geom_part.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/geom/class/part/geom_part.c b/sbin/geom/class/part/geom_part.c
index 3ddbd7a..6fca208 100644
--- a/sbin/geom/class/part/geom_part.c
+++ b/sbin/geom/class/part/geom_part.c
@@ -705,7 +705,7 @@ gpart_bootcode(struct gctl_req *req, unsigned int fl)
if (gctl_has_param(req, bootcode_param)) {
s = gctl_get_ascii(req, bootcode_param);
- bootsize = 64 * 1024; /* Arbitrary limit. */
+ bootsize = 800 * 1024; /* Arbitrary limit. */
bootcode = gpart_bootfile_read(s, &bootsize);
error = gctl_change_param(req, bootcode_param, bootsize,
bootcode);
OpenPOWER on IntegriCloud