about summary refs log tree commit diff stats
path: root/subx/020syscalls.cc
diff options
context:
space:
mode:
Diffstat (limited to 'subx/020syscalls.cc')
-rw-r--r--subx/020syscalls.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/020syscalls.cc b/subx/020syscalls.cc
index 00f6738b..c7e3fa47 100644
--- a/subx/020syscalls.cc
+++ b/subx/020syscalls.cc
@@ -105,7 +105,7 @@ void check_mode(int reg) {
 
 void resize_mem(uint32_t new_end_address) {
   if (new_end_address < Mem_offset) {
-    raise << HEXWORD << EIP << ": can't shrink data segment to before code segment\n";
+    raise << HEXWORD << EIP << ": can't shrink data segment to before code segment\n" << end();
     return;
   }
   int32_t new_size = new_end_address - Mem_offset;