shithub: scc

Download patch

ref: 0771ecab43a53d473d65baf0d08b6177077e11b4
parent: a564aad2414de7c381465fa9ced3dcf0f4f2a532
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sun Jan 24 13:39:27 EST 2016

[driver/posix] Set correct value for cc2

Execv(2) needs a correct argv array.

--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
@@ -136,6 +136,7 @@
 
 	argcc1[0] = "cc1";
 	argcc1[1] = *argv;
+	argcc2[0] = "cc2";
 
 	cc1(fds[1]);
 	cc2(fds[0]);