summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/boot-start.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
index d70d8599..7480d77b 100644
--- a/libdiskfs/boot-start.c
+++ b/libdiskfs/boot-start.c
@@ -516,7 +516,7 @@ start_execserver (void)
err = vm_protect (newt, 0, trunc_page (execserver_text_size) + 0x10000, 0,
VM_PROT_READ | VM_PROT_EXECUTE);
- bssloc = trunc_page (0x10000 + execserver_text_size + execserver_data_size);
+ bssloc = round_page (0x10000 + execserver_text_size + execserver_data_size);
err = vm_allocate (newt, &bssloc,
round_page (0x10000 +
execserver_text_size +