summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-07-09 08:17:47 +0000
committerbrian <brian@FreeBSD.org>2001-07-09 08:17:47 +0000
commitef44874abb9460f2956eba8e3233154af304f5b1 (patch)
tree2a6620804371325989175371ff96542b3450e954 /usr.sbin
parentea8d486d2b5ec200e3ff9076956cc7757985b706 (diff)
downloadFreeBSD-src-ef44874abb9460f2956eba8e3233154af304f5b1.zip
FreeBSD-src-ef44874abb9460f2956eba8e3233154af304f5b1.tar.gz
Fix the type of the last arg to execl()
Obtained from: OpenBSD
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ppp/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c
index 4a11154..b793c36 100644
--- a/usr.sbin/ppp/command.c
+++ b/usr.sbin/ppp/command.c
@@ -558,7 +558,7 @@ ShellCommand(struct cmdargs const *arg, int bg)
if (arg->prompt)
printf("ppp: Pausing until %s finishes\n", shell);
prompt_TtyOldMode(arg->prompt);
- execl(shell, shell, NULL);
+ execl(shell, shell, (char *)NULL);
}
log_Printf(LogWARN, "exec() of %s failed: %s\n",
OpenPOWER on IntegriCloud