summaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-02-16 10:52:52 +0000
committerRoland McGrath <roland@gnu.org>2005-02-16 10:52:52 +0000
commit89020b6f1c2caae213bcc56f1139cafc284e8766 (patch)
treed2f70a0e9c9d3020af57c0f717729039d2e91124 /sunrpc
parent2b8f0808daad1754011513285421134c051641b3 (diff)
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>.
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/openchild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/openchild.c b/sunrpc/openchild.c
index 16f6a34e7a..29ddfa6b75 100644
--- a/sunrpc/openchild.c
+++ b/sunrpc/openchild.c
@@ -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);