aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2023-03-27 22:25:23 +1030
committerMichael Tokarev <mjt@tls.msk.ru>2023-06-10 09:38:48 +0300
commitf101c25cd66dc4dea1135d2f1783a0786534923a (patch)
tree66e4efcebccb6d5948ed23482f107deb790cfff1 /linux-user
parentbdfca8a22f41e7ad47fd2dac71e4d1387e2c0d4e (diff)
linux-user: elfload: s/min_mmap_addr/mmap_min_addr/
As-is the error message can cause some confusion as the mentioned sysctl attribute name is wrong: https://www.kernel.org/doc/html/latest/admin-guide/sysctl/vm.html#mmap-min-addr Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/elfload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index d80d68484b..76874833e3 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -2798,7 +2798,7 @@ static void pgb_reserved_va(const char *image_name, abi_ulong guest_loaddr,
if (addr == MAP_FAILED || addr != test) {
error_report("Unable to reserve 0x%lx bytes of virtual address "
"space at %p (%s) for use as guest address space (check your "
- "virtual memory ulimit setting, min_mmap_addr or reserve less "
+ "virtual memory ulimit setting, mmap_min_addr or reserve less "
"using -R option)", reserved_va + 1, test, strerror(errno));
exit(EXIT_FAILURE);
}