diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-09 07:02:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-09 07:02:09 +0000 |
commit | 53de1cbd5435b6fe94c2760d067a3c46aed8feb4 (patch) | |
tree | 15b36f4b0d8984598b66b42c01aea4fb7e0bd320 /bin/csh/func.c | |
parent | 5e18c2b7bf584f7defb8b73f3e0a4843e3da9bbc (diff) |
correct type on last arg to execl(); nordin@cse.ogi.edu
Diffstat (limited to 'bin/csh/func.c')
-rw-r--r-- | bin/csh/func.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/csh/func.c b/bin/csh/func.c index f2bdff7b280..d1ab8208097 100644 --- a/bin/csh/func.c +++ b/bin/csh/func.c @@ -1,4 +1,4 @@ -/* $OpenBSD: func.c,v 1.10 2001/06/25 04:41:25 art Exp $ */ +/* $OpenBSD: func.c,v 1.11 2001/07/09 07:02:08 deraadt Exp $ */ /* $NetBSD: func.c,v 1.11 1996/02/09 02:28:29 christos Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)func.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: func.c,v 1.10 2001/06/25 04:41:25 art Exp $"; +static char rcsid[] = "$OpenBSD: func.c,v 1.11 2001/07/09 07:02:08 deraadt Exp $"; #endif #endif /* not lint */ @@ -253,7 +253,7 @@ dologin(v, t) islogin(); rechist(); (void) signal(SIGTERM, parterm); - (void) execl(_PATH_LOGIN, "login", short2str(v[1]), NULL); + (void) execl(_PATH_LOGIN, "login", short2str(v[1]), (char *)NULL); untty(); xexit(1); } |