summaryrefslogtreecommitdiffstats
path: root/vhook
diff options
context:
space:
mode:
Diffstat (limited to 'vhook')
-rw-r--r--vhook/ppm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vhook/ppm.c b/vhook/ppm.c
index 45e7208..807e4a9 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
OpenPOWER on IntegriCloud