diff options
author | brian <brian@FreeBSD.org> | 2001-07-09 08:17:47 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-07-09 08:17:47 +0000 |
commit | ef44874abb9460f2956eba8e3233154af304f5b1 (patch) | |
tree | 2a6620804371325989175371ff96542b3450e954 | |
parent | ea8d486d2b5ec200e3ff9076956cc7757985b706 (diff) | |
download | FreeBSD-src-ef44874abb9460f2956eba8e3233154af304f5b1.zip FreeBSD-src-ef44874abb9460f2956eba8e3233154af304f5b1.tar.gz |
Fix the type of the last arg to execl()
Obtained from: OpenBSD
-rw-r--r-- | usr.sbin/ppp/command.c | 2 |
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", |