about summary refs log tree commit diff stats
path: root/071read-line.subx
diff options
context:
space:
mode:
Diffstat (limited to '071read-line.subx')
-rw-r--r--071read-line.subx6
1 files changed, 2 insertions, 4 deletions
diff --git a/071read-line.subx b/071read-line.subx
index b230c9ca..02dcc0fd 100644
--- a/071read-line.subx
+++ b/071read-line.subx
@@ -104,8 +104,7 @@ $read-line-buffered:abort:
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               8/imm32           # add to esp
     # . syscall(exit, 1)
     bb/copy-to-ebx  1/imm32
-    b8/copy-to-eax  1/imm32/exit
-    cd/syscall  0x80/imm8
+    e8/call  syscall_exit/disp32
     # never gets here
 
 test-read-line-buffered:
@@ -289,8 +288,7 @@ $read-line:abort:
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               8/imm32           # add to esp
     # . syscall(exit, 1)
     bb/copy-to-ebx  1/imm32
-    b8/copy-to-eax  1/imm32/exit
-    cd/syscall  0x80/imm8
+    e8/call  syscall_exit/disp32
     # never gets here
 
 test-read-line: