=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tput/tput.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- src/usr.bin/tput/tput.c 1999/09/12 10:29:01 1.10 +++ src/usr.bin/tput/tput.c 2001/07/09 07:04:56 1.11 @@ -1,4 +1,4 @@ -/* $OpenBSD: tput.c,v 1.10 1999/09/12 10:29:01 millert Exp $ */ +/* $OpenBSD: tput.c,v 1.11 2001/07/09 07:04:56 deraadt Exp $ */ /* * Copyright (c) 1999 Todd C. Miller @@ -69,7 +69,7 @@ #if 0 static char sccsid[] = "@(#)tput.c 8.3 (Berkeley) 4/28/95"; #endif -static char rcsid[] = "$OpenBSD: tput.c,v 1.10 1999/09/12 10:29:01 millert Exp $"; +static char rcsid[] = "$OpenBSD: tput.c,v 1.11 2001/07/09 07:04:56 deraadt Exp $"; #endif /* not lint */ #include @@ -301,7 +301,7 @@ break; case 0: /* child */ - execl(init_prog, init_prog, NULL); + execl(init_prog, init_prog, (char *)NULL); _exit(127); break; default: