diff options
author | gibbs <gibbs@FreeBSD.org> | 1996-01-05 01:48:07 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1996-01-05 01:48:07 +0000 |
commit | 2752676ceff1ed7120bd26abe25b59d0bc179ce3 (patch) | |
tree | 94d1f9f9072ef07d8a57a1c5914183ad50e60723 | |
parent | d8eaf8a5647ddcbeb20bda3d5de23b432b4eead2 (diff) | |
download | FreeBSD-src-2752676ceff1ed7120bd26abe25b59d0bc179ce3.zip FreeBSD-src-2752676ceff1ed7120bd26abe25b59d0bc179ce3.tar.gz |
Null terminate execl's argument list.
Submitted by: Ron Lenk <rlenk@widget.xmission.com>
-rw-r--r-- | sys/dev/aic7xxx/aic7xxx_asm.c | 4 | ||||
-rw-r--r-- | sys/dev/aic7xxx/aicasm.c | 4 | ||||
-rw-r--r-- | sys/dev/aic7xxx/aicasm/aicasm.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/aic7xxx/aic7xxx_asm.c b/sys/dev/aic7xxx/aic7xxx_asm.c index d53a4b9..402b337 100644 --- a/sys/dev/aic7xxx/aic7xxx_asm.c +++ b/sys/dev/aic7xxx/aic7xxx_asm.c @@ -43,7 +43,7 @@ * are token separators. * *-M*************************************************************************/ -static char id[] = "$Id: aic7xxx_asm.c,v 1.9 1995/05/30 07:57:33 rgrimes Exp $"; +static char id[] = "$Id: aic7xxx_asm.c,v 1.10 1996/01/03 06:25:31 gibbs Exp $"; #include <ctype.h> #include <stdio.h> #include <string.h> @@ -679,7 +679,7 @@ main(int argc, char **argv) } close(ifile); } - execl("/usr/bin/cpp", "/usr/bin/cpp", "-P", "-", "-"); + execl("/usr/bin/cpp", "/usr/bin/cpp", "-P", "-", "-", NULL); } return(EXIT_SUCCESS); } diff --git a/sys/dev/aic7xxx/aicasm.c b/sys/dev/aic7xxx/aicasm.c index d53a4b9..402b337 100644 --- a/sys/dev/aic7xxx/aicasm.c +++ b/sys/dev/aic7xxx/aicasm.c @@ -43,7 +43,7 @@ * are token separators. * *-M*************************************************************************/ -static char id[] = "$Id: aic7xxx_asm.c,v 1.9 1995/05/30 07:57:33 rgrimes Exp $"; +static char id[] = "$Id: aic7xxx_asm.c,v 1.10 1996/01/03 06:25:31 gibbs Exp $"; #include <ctype.h> #include <stdio.h> #include <string.h> @@ -679,7 +679,7 @@ main(int argc, char **argv) } close(ifile); } - execl("/usr/bin/cpp", "/usr/bin/cpp", "-P", "-", "-"); + execl("/usr/bin/cpp", "/usr/bin/cpp", "-P", "-", "-", NULL); } return(EXIT_SUCCESS); } diff --git a/sys/dev/aic7xxx/aicasm/aicasm.c b/sys/dev/aic7xxx/aicasm/aicasm.c index d53a4b9..402b337 100644 --- a/sys/dev/aic7xxx/aicasm/aicasm.c +++ b/sys/dev/aic7xxx/aicasm/aicasm.c @@ -43,7 +43,7 @@ * are token separators. * *-M*************************************************************************/ -static char id[] = "$Id: aic7xxx_asm.c,v 1.9 1995/05/30 07:57:33 rgrimes Exp $"; +static char id[] = "$Id: aic7xxx_asm.c,v 1.10 1996/01/03 06:25:31 gibbs Exp $"; #include <ctype.h> #include <stdio.h> #include <string.h> @@ -679,7 +679,7 @@ main(int argc, char **argv) } close(ifile); } - execl("/usr/bin/cpp", "/usr/bin/cpp", "-P", "-", "-"); + execl("/usr/bin/cpp", "/usr/bin/cpp", "-P", "-", "-", NULL); } return(EXIT_SUCCESS); } |