http://git.etherboot.org
/
people
/
andreif
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a77b32a
)
Including the final (char *)NULL is the responsibility of the caller
author
Michael Brown
<mcb30@etherboot.org>
Fri, 8 Dec 2006 09:15:12 +0000
(09:15 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Fri, 8 Dec 2006 09:15:12 +0000
(09:15 +0000)
of execl().
src/include/unistd.h
patch
|
blob
|
history
diff --git
a/src/include/unistd.h
b/src/include/unistd.h
index
9dd51dc
..
f3412d4
100644
(file)
--- 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, ... ) ( { \
* 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; \
} )
int rc = execv ( (command), argv ); \
rc; \
} )