about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-09-28 23:00:07 -0700
committerKartik Agaram <vc@akkartik.com>2018-09-29 10:19:51 -0700
commitfd0cf1cd07ce01c3d6fe709d55b60ff9d1d5d44f (patch)
tree98d943dd5c68956397283cc89102c603a4db1cac /subx
parent880b8e91809dade398459cac00bd98e983151073 (diff)
downloadmu-fd0cf1cd07ce01c3d6fe709d55b60ff9d1d5d44f.tar.gz
4613
Diffstat (limited to 'subx')
-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;