From e794dc8249450a31cf35cb2aa88a33779325b689 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 9 Jul 2001 07:05:10 +0000 Subject: correct type on last arg to execl(); nordin@cse.ogi.edu --- gnu/usr.bin/gas/input-file.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gnu/usr.bin/gas') diff --git a/gnu/usr.bin/gas/input-file.c b/gnu/usr.bin/gas/input-file.c index ab5302d6ba8..f5401180e92 100644 --- a/gnu/usr.bin/gas/input-file.c +++ b/gnu/usr.bin/gas/input-file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input-file.c,v 1.2 1998/02/15 18:48:51 niklas Exp $ */ +/* $OpenBSD: input-file.c,v 1.3 2001/07/09 07:04:35 deraadt Exp $ */ /* input_file.c - Deal with Input Files - Copyright (C) 1987, 1990, 1991, 1992 Free Software Foundation, Inc. @@ -27,7 +27,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: input-file.c,v 1.2 1998/02/15 18:48:51 niklas Exp $"; +static char rcsid[] = "$OpenBSD: input-file.c,v 1.3 2001/07/09 07:04:35 deraadt Exp $"; #endif #ifdef USG @@ -175,8 +175,8 @@ int debugging; /* TRUE if we are debugging assembler. */ (void)dup2 (fd, fileno(stdout)); /* JF for testing #define PREPROCESSOR "/lib/app" */ #define PREPROCESSOR "./app" - execl (PREPROCESSOR, PREPROCESSOR, 0); - execl ("app","app",0); + execl (PREPROCESSOR, PREPROCESSOR, (char *)NULL); + execl ("app","app",(char *)NULL); (void)write(2,"Exec of app failed. Get help.\n",31); (void)unlink(temporary_file_name); _exit (11); -- cgit v1.2.3