mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-12 14:21:18 +08:00
2005-01-19 Roland McGrath <roland@redhat.com>
[BZ #681] * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing argument to execlp. Reported by Marcus Meissner <meissner@suse.de>.
This commit is contained in:
parent
2b8f0808da
commit
89020b6f1c
@ -81,7 +81,7 @@ _openchild (const char *command, FILE ** fto, FILE ** ffrom)
|
||||
for (i = _rpc_dtablesize () - 1; i >= 3; i--)
|
||||
__close (i);
|
||||
fflush (stderr);
|
||||
execlp (command, command, 0);
|
||||
execlp (command, command, NULL);
|
||||
perror ("exec");
|
||||
_exit (~0);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user