summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlin Bingham <cb@viennan.net>2019-02-28 02:09:19 +1300
committerOri Bernstein <ori@eigenstate.org>2019-02-27 10:24:23 -0800
commit56dffc40e38779981b50628d0c4781255410a357 (patch)
treed1f8ef26bf505dac07699af990b43b2ae12d4648
parentf238030498f6b30f6d11e000b053e6f5154e4702 (diff)
downloadmc-56dffc40e38779981b50628d0c4781255410a357.tar.gz
Fix __fini__ on openbsd
-rw-r--r--rt/start-openbsd.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/start-openbsd.s b/rt/start-openbsd.s
index 7c9c67a..d315bfa 100644
--- a/rt/start-openbsd.s
+++ b/rt/start-openbsd.s
@@ -64,7 +64,7 @@ _start:
call __init__
call main
- call __init__
+ call __fini__
/* exit(0) */
xorq %rdi,%rdi