Fix warning on gcc 4.6.1
This commit is contained in:
parent
4619d29b78
commit
b4e908d04d
|
|
@ -436,7 +436,7 @@ private:
|
|||
dup2(fd_stdout[P_WR], 1);
|
||||
// And stderr comes from parent
|
||||
|
||||
execl("/bin/sh", "sh", "-c", command.c_str(), NULL);
|
||||
execl("/bin/sh", "sh", "-c", command.c_str(), (char*)NULL);
|
||||
// Don't use v3fatal, we don't share the common structures any more
|
||||
fprintf(stderr,"--pipe-filter: exec failed: %s\n",strerror(errno));
|
||||
_exit(10);
|
||||
|
|
|
|||
Loading…
Reference in New Issue