diff options
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 9ee7352313..6cad6d92f4 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -308,7 +308,7 @@ static target_ulong target_original_brk; void target_set_brk(target_ulong new_brk) { - target_original_brk = target_brk = new_brk; + target_original_brk = target_brk = HOST_PAGE_ALIGN(new_brk); } long do_brk(target_ulong new_brk) |