diff options
Diffstat (limited to 'sunrpc')
-rw-r--r-- | sunrpc/key_call.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/key_call.c b/sunrpc/key_call.c index 611c37256c..319d8017e8 100644 --- a/sunrpc/key_call.c +++ b/sunrpc/key_call.c @@ -462,7 +462,7 @@ getkeyserv_handle (int vers) clnt_control (kcp->client, CLSET_RETRY_TIMEOUT, (char *)&wait_time); if (clnt_control (kcp->client, CLGET_FD, (char *)&fd)) - __fcntl (fd, F_SETFD, 1); /* make it "close on exec" */ + __fcntl (fd, F_SETFD, FD_CLOEXEC); /* make it "close on exec" */ return kcp->client; } |