summaryrefslogtreecommitdiffstats
path: root/src/include/unistd.h
diff options
context:
space:
mode:
authorMichael Brown2006-12-08 10:15:12 +0100
committerMichael Brown2006-12-08 10:15:12 +0100
commitc343a3a8ee5168f6b15a6143b79c34bb17deff9a (patch)
treed0b2084f550332c7c2387f9c98b9cdc30f1be8f8 /src/include/unistd.h
parentD'oh d'oh d'oh d'oh d'oh d'oh d'oh d'oh d'oh (diff)
downloadipxe-c343a3a8ee5168f6b15a6143b79c34bb17deff9a.tar.gz
ipxe-c343a3a8ee5168f6b15a6143b79c34bb17deff9a.tar.xz
ipxe-c343a3a8ee5168f6b15a6143b79c34bb17deff9a.zip
Including the final (char *)NULL is the responsibility of the caller
of execl().
Diffstat (limited to 'src/include/unistd.h')
-rw-r--r--src/include/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/unistd.h b/src/include/unistd.h
index 9dd51dcd..f3412d40 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; \
} )