aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86_64.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86_64.md b/src/arch/x86_64.md
index 63bea81..7fd5113 100644
--- a/src/arch/x86_64.md
+++ b/src/arch/x86_64.md
@@ -182,7 +182,7 @@ _start:
syscall
mov rdi, 0 # exit code
- mov rax, 1 # exit(2) syscall nr
+ mov rax, 60 # exit(2) syscall nr
syscall
.section .rdonly, "a", @progbits