commit 0771ecab43a53d473d65baf0d08b6177077e11b4
Author:     Roberto E. Vargas Caballero <k...@shike2.com>
AuthorDate: Sun Jan 24 18:39:27 2016 +0100
Commit:     Roberto E. Vargas Caballero <k...@shike2.com>
CommitDate: Sun Jan 24 18:39:27 2016 +0100

    [driver/posix] Set correct value for cc2
    
    Execv(2) needs a correct argv array.

diff --git a/driver/posix/scc.c b/driver/posix/scc.c
index 588dbf8..318293f 100644
--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
@@ -136,6 +136,7 @@ main(int argc, char *argv[])
 
        argcc1[0] = "cc1";
        argcc1[1] = *argv;
+       argcc2[0] = "cc2";
 
        cc1(fds[1]);
        cc2(fds[0]);

Reply via email to