478d72d25c
Robert Nagy <thuglife@bsd.hu>.
13 lines
428 B
Plaintext
13 lines
428 B
Plaintext
$OpenBSD: patch-slang_slsignal_c,v 1.1 2004/04/11 00:40:59 naddy Exp $
|
|
--- slang/slsignal.c.orig 2003-09-26 23:34:49.000000000 +0200
|
|
+++ slang/slsignal.c 2004-04-11 02:36:03.000000000 +0200
|
|
@@ -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
|