shithub: mc

Download patch

ref: 9820aa94426cb91ca7dc70f9dcfcdbb56445b797
parent: a2482e1150ef382796ba18c3516290552e349dc7
author: Ori Bernstein <[email protected]>
date: Tue Dec 23 13:08:39 EST 2014

Another typo. Ugh.

--- a/libstd/syswrap+plan9.myr
+++ b/libstd/syswrap+plan9.myr
@@ -40,7 +40,7 @@
 
 /* fd stuff */
 const open	= {path, opts;	-> openmode(path, opts, 0o777)}
-const openmode	= {path, opts, mod
+const openmode	= {path, opts, mode
 	if opts & Ocreat != 0
 		-> sys.create(path, opts castto(sys.fdopt), mode castto(int)) castto(fd)
 	else