diff --git a/vhook/ppm.c b/vhook/ppm.c index 45e7208788..807e4a985c 100644 --- a/vhook/ppm.c +++ b/vhook/ppm.c @@ -75,7 +75,7 @@ rwpipe *rwpipe_open( int argc, char *argv[] ) close( output[ 0 ] ); close( output[ 1 ] ); - execl("/bin/sh", "sh", "-c", command, NULL ); + execl("/bin/sh", "sh", "-c", command, (char*)NULL ); exit( 255 ); } else