From: Michael Brown Date: Fri, 8 Dec 2006 09:15:12 +0000 (+0000) Subject: Including the final (char *)NULL is the responsibility of the caller X-Git-Tag: v0.9.3~934 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c343a3a8ee5168f6b15a6143b79c34bb17deff9a;p=thirdparty%2Fipxe.git Including the final (char *)NULL is the responsibility of the caller of execl(). --- diff --git a/src/include/unistd.h b/src/include/unistd.h index 9dd51dcd7..f3412d400 100644 --- a/src/include/unistd.h +++ b/src/include/unistd.h @@ -16,7 +16,7 @@ extern int execv ( const char *command, char * const argv[] ); * This is a front end to execv(). */ #define execl( command, arg, ... ) ( { \ - char * const argv[] = { (arg), ## __VA_ARGS__, NULL }; \ + char * const argv[] = { (arg), ## __VA_ARGS__ }; \ int rc = execv ( (command), argv ); \ rc; \ } )