shithub: mc

Download patch

ref: 6f893e4ef65b27ec2241b8375a465bbf41e3622b
parent: 7b4983962f2bf3057e2f3f16d3318aa27e171690
author: Ori Bernstein <[email protected]>
date: Mon Aug 26 22:54:49 EDT 2013

Fix exit syscall number.

    Error copying/pasting from Linux.

--- a/libstd/start-osx.s
+++ b/libstd/start-osx.s
@@ -99,6 +99,6 @@
 	call	_main
 	/* exit */
 	movq	%rax,%rdi
-	movq	$60,%rax
+	movq	$0x2000001,%rax
 	syscall