aboutsummaryrefslogtreecommitdiff
path: root/networking/ifupdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ifupdown.c')
-rw-r--r--networking/ifupdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index 07855f07f..c9371cce8 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -982,7 +982,7 @@ static int doit(char *str)
982 case -1: /* failure */ 982 case -1: /* failure */
983 return 0; 983 return 0;
984 case 0: /* child */ 984 case 0: /* child */
985 execle(DEFAULT_SHELL, DEFAULT_SHELL, "-c", str, NULL, my_environ); 985 execle(DEFAULT_SHELL, DEFAULT_SHELL, "-c", str, (char *) NULL, my_environ);
986 _exit(127); 986 _exit(127);
987 } 987 }
988 safe_waitpid(child, &status, 0); 988 safe_waitpid(child, &status, 0);