summaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
authorCarlin Bingham <cb@viennan.net>2017-07-08 12:59:34 +1200
committerOri Bernstein <ori@eigenstate.org>2017-07-07 19:01:17 -0700
commit180c0d000870433ae0108bb0bac1e9cdac5ce92c (patch)
tree9ea3e12adef137ba43edc7de940caba7bf8768be /rt
parentd052b8be7485d34e4349c80b43cda34f574e7cd8 (diff)
downloadmc-180c0d000870433ae0108bb0bac1e9cdac5ce92c.tar.gz
Use the correct syscall for kill on OpenBSD
Diffstat (limited to 'rt')
-rw-r--r--rt/abort-openbsd.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/abort-openbsd.s b/rt/abort-openbsd.s
index a4b12bb..94d301b 100644
--- a/rt/abort-openbsd.s
+++ b/rt/abort-openbsd.s
@@ -27,7 +27,7 @@ __rt$abort_oob:
movq $20,%rax /* getpid */
syscall
movq %rax, %rdi /* save pid */
- movq $37, %rax /* kill(pid=%rdi, sig=%rsi) */
+ movq $122, %rax /* kill(pid=%rdi, sig=%rsi) */
movq $6, %rsi
syscall
.data