aboutsummaryrefslogtreecommitdiffstats
path: root/src/pingu_host.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-28 14:13:59 +0200
committerTimo Teräs <timo.teras@iki.fi>2013-10-28 14:13:59 +0200
commit200819267fd20424150fce79c5e579945f8f8f5d (patch)
tree1da777ffe9f49047679e424128f201389d880d10 /src/pingu_host.c
parent32a132acd697590df99b57505dbcd7437780a96e (diff)
downloadpingu-master.tar.bz2
pingu-master.tar.xz
fix various #include issues and remove unused functionsHEADmaster
to compile against musl, and remove some gcc 4.8.x warnings.
Diffstat (limited to 'src/pingu_host.c')
-rw-r--r--src/pingu_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pingu_host.c b/src/pingu_host.c
index 5887996..b2b59a4 100644
--- a/src/pingu_host.c
+++ b/src/pingu_host.c
@@ -37,7 +37,7 @@ void execute_action(const char *action)
return;
}
if (pid == 0) {
- execl(shell, shell, "-c", action, NULL);
+ execl(shell, shell, "-c", action, (void*) NULL);
log_perror(action);
exit(1);
}