shithub: mc

Download patch

ref: 67195e1367cb98054844a4ed0f567ab43977f0d0
parent: c3f597fcf1884f86f69d0d629a2deaef7dae06b2
author: Ori Bernstein <[email protected]>
date: Tue Jul 24 06:53:21 EDT 2012

Fix typos.

--- a/sys-osx.myr
+++ b/sys-osx.myr
@@ -77,7 +77,7 @@
 	const Sysfstat	: scno = 189
 	const Syskill	: scno = 37
 	const Sysgetpid	: scno = 20
-	const Sysmmap2	: scno = 192
+	const Sysmmap	: scno = 197
 	const Sysmunmap	: scno = 73
 
 	extern const syscall : (sc:scno, args:... -> int)
@@ -107,4 +107,4 @@
 const lseek	= {fd, off, whence;	-> syscall(Syslseek, fd, off, whence);}
 const fstat	= {fd, sb;		-> syscall(Sysfstat, fd, sb);}
 const munmap	= {addr, len;		-> syscall(Sysmunmap, addr, len);}
-const mmap	= {addr, len, prot, flags, fd, off;	-> syscall(Sysmmap2, addr, len, prot, flags, fd, off) castto(byte*);}
+const mmap	= {addr, len, prot, flags, fd, off;	-> syscall(Sysmmap, addr, len, prot, flags, fd, off) castto(byte*);}