From accb2b4aa518bb2bbddecf42fbc3f60a8a3f8fda Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 11 Jul 2011 03:33:06 +0200 Subject: avoid missing sentinel warning on GCC --- teccmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'teccmd.c') diff --git a/teccmd.c b/teccmd.c index 63aed29..b390550 100644 --- a/teccmd.c +++ b/teccmd.c @@ -1772,7 +1772,7 @@ int buf_pipe[2]; close(2); dup(pipe_desc[1]); close(pipe_desc[0]); close(pipe_desc[1]); - execl("/bin/bash","bash","-c",cp,0); + execl("/bin/bash","bash","-c",cp,NULL); _exit(127); }/* End IF */ #else -- cgit v1.2.3