diff options
Diffstat (limited to 'inet/rexec.c')
-rw-r--r-- | inet/rexec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inet/rexec.c b/inet/rexec.c index c22e53d474..e8ecf79c54 100644 --- a/inet/rexec.c +++ b/inet/rexec.c @@ -115,9 +115,9 @@ retry: (void) __close(s); return (-1); } - listen(s2, 1); + __listen(s2, 1); sa2len = sizeof (sa2); - if (getsockname(s2, (struct sockaddr *)&sa2, &sa2len) < 0) { + if (__getsockname(s2, (struct sockaddr *)&sa2, &sa2len) < 0) { perror("getsockname"); (void) __close(s2); goto bad; |