shithub: mc

Download patch

ref: 27b4f894b3b7456b64908ad8c2d50ba66ebb513a
parent: 5f908a4b24cde049374c0922bce3cc067ab216dc
author: Ori Bernstein <ori@markovcorp.com>
date: Thu Mar 1 08:47:06 EST 2018

Fix syscall numbers.

--- a/lib/sys/sys+linux-x64.myr
+++ b/lib/sys/sys+linux-x64.myr
@@ -1030,8 +1030,8 @@
 	const Sysreadv			: scno = 19
 	const Syswrite			: scno = 1
 	const Syswritev			: scno = 20
-	const Syspread			: scno = 0
-	const Syspwrite			: scno = 0
+	const Syspread			: scno = 17
+	const Syspwrite			: scno = 18
 	const Syspreadv			: scno = 295
 	const Syspreadv2		: scno = 327
 	const Syspwritev		: scno = 296