summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ifplugd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ifplugd.c b/src/ifplugd.c
index 3c07a5e..6bd34c4 100644
--- a/src/ifplugd.c
+++ b/src/ifplugd.c
@@ -163,7 +163,7 @@ int action(interface_status_t status) {
umask(0022); /* Set up a sane umask */
- execl(run, run, interface, arg, extra_arg, 0);
+ execl(run, run, interface, arg, extra_arg, (char *) NULL);
_exit(EXIT_FAILURE);
}