Commits

Jakub Wilk committed 4390300

Add (char*) typecast to the execlp call.

Comments (0)

Files changed (1)

             case -1:
                 fail("fork");
             case 0:
-                execlp(shell, shell, pipepath, NULL);
+                execlp(shell, shell, pipepath, (char*) NULL);
                 fail(shell);
         }
         pipe = fopen(pipepath, "w");