diff --git a/slang/ChangeLog b/slang/ChangeLog index 386231712..d846156a8 100644 --- a/slang/ChangeLog +++ b/slang/ChangeLog @@ -1,3 +1,10 @@ +2004-09-24 Roland Illig + + * slsignal.c (SLsystem): Replaced NULL with (char *) NULL in + call to execl. + + From patches from the OpenBSD ports collection. + 2004-09-04 Pavel S. Shirshov * sltermin.c (): Avoid strncpy, home_ti is 1K long and diff --git a/slang/slsignal.c b/slang/slsignal.c index b46d144c0..bde1f7300 100644 --- a/slang/slsignal.c +++ b/slang/slsignal.c @@ -227,7 +227,7 @@ int SLsystem (char *cmd) (void) sigprocmask (SIG_SETMASK, &save_mask, NULL); # endif - execl ("/bin/sh", "sh", "-c", cmd, NULL); + execl ("/bin/sh", "sh", "-c", cmd, (char *) NULL); _exit (127); } else