Skip to contentSkip to conversation

linux-user: Fix missing space in error message

PATCH Applied Patrick Venture 4 participants 4 messages Mar 10, 2022 – Mar 22, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-user: Fix missing space in error message

From: Fergus Henderson <[email protected]>

---
 linux-user/elfload.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
linux-user/elfload.c +1 -1
index 9628a38361..c45da4d633 100644
@@ -2504,7 +2504,7 @@ static void pgb_reserved_va(const char *image_name, abi_ulong guest_loaddr,
     addr = mmap(test, reserved_va, PROT_NONE, flags, -1, 0);
     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"
+                     "space at %p (%s) for use as guest address space (check your "
                      "virtual memory ulimit setting, min_mmap_addr or reserve less "
                      "using -R option)", reserved_va, test, strerror(errno));
         exit(EXIT_FAILURE);
Signature · 1 line
2.35.1.723.g4982287a31-goog
Reviewed-by on v1 1/1
#2 lore raw
In reply to Patrick Venture
Quoted 13 lines · Patrick Venture

From: Fergus Henderson <[email protected]>

---
  linux-user/elfload.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
linux-user/elfload.c +0 -0
index 9628a38361..c45da4d633 100644

linux-user/elfload.c static void pgb_reserved_va(const char *image_name, abi_ulong guest_loaddr, · line 2510

Quoted 8 lines
linux-user/elfload.c +1 -1
@@ -2504,7 +2504,7 @@ static void pgb_reserved_va(const char *image_name, abi_ulong guest_loaddr,
      addr = mmap(test, reserved_va, PROT_NONE, flags, -1, 0);
      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"
+                     "space at %p (%s) for use as guest address space (check your "
                       "virtual memory ulimit setting, min_mmap_addr or reserve less "
                       "using -R option)", reserved_va, test, strerror(errno));
          exit(EXIT_FAILURE);
#3 lore raw
In reply to Patrick Venture

Le 10/03/2022 à 20:21, Patrick Venture a écrit :

Quoted 13 lines

From: Fergus Henderson <[email protected]>

---
  linux-user/elfload.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
linux-user/elfload.c +0 -0
index 9628a38361..c45da4d633 100644

linux-user/elfload.c static void pgb_reserved_va(const char *image_name, abi_ulong guest_loaddr, · line 2510

Quoted 8 lines
linux-user/elfload.c +1 -1
@@ -2504,7 +2504,7 @@ static void pgb_reserved_va(const char *image_name, abi_ulong guest_loaddr,
      addr = mmap(test, reserved_va, PROT_NONE, flags, -1, 0);
      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"
+                     "space at %p (%s) for use as guest address space (check your "
                       "virtual memory ulimit setting, min_mmap_addr or reserve less "
                       "using -R option)", reserved_va, test, strerror(errno));
          exit(EXIT_FAILURE);

Applied to my linux-user-for-7.0 branch.

Thanks,
Laurent