summaryrefslogtreecommitdiff
path: root/bin/rcp/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rcp/util.c')
-rw-r--r--bin/rcp/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/rcp/util.c b/bin/rcp/util.c
index e57cc00e97c..17c8ca12742 100644
--- a/bin/rcp/util.c
+++ b/bin/rcp/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.8 2001/01/15 19:54:56 deraadt Exp $ */
+/* $OpenBSD: util.c,v 1.9 2001/07/09 07:04:27 deraadt Exp $ */
/* $NetBSD: util.c,v 1.2 1995/03/21 08:19:08 cgd Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)util.c 8.2 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: util.c,v 1.8 2001/01/15 19:54:56 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: util.c,v 1.9 2001/07/09 07:04:27 deraadt Exp $";
#endif
#endif /* not lint */
@@ -124,7 +124,7 @@ susystem(s, userid)
case 0:
(void)seteuid(userid);
(void)setuid(userid);
- execl(_PATH_BSHELL, "sh", "-c", s, NULL);
+ execl(_PATH_BSHELL, "sh", "-c", s, (char *)NULL);
_exit(127);
}
istat = signal(SIGINT, SIG_IGN);