summaryrefslogtreecommitdiff
path: root/bin/rcp/util.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-09 07:05:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-09 07:05:10 +0000
commite794dc8249450a31cf35cb2aa88a33779325b689 (patch)
tree7fe943aa48c43bd24ed6b9267ab44c0191c44d4a /bin/rcp/util.c
parent5b1ba3114a10793470c731e714160f24131b690d (diff)
correct type on last arg to execl(); nordin@cse.ogi.edu
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);