diff options
Diffstat (limited to 'libc/inet/rpc/bindresvport.c')
-rw-r--r-- | libc/inet/rpc/bindresvport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/rpc/bindresvport.c b/libc/inet/rpc/bindresvport.c index 98ce691ee..1fb80d701 100644 --- a/libc/inet/rpc/bindresvport.c +++ b/libc/inet/rpc/bindresvport.c @@ -69,7 +69,7 @@ bindresvport (int sd, struct sockaddr_in *sin) if (port == 0) { - port = (getpid () % NPORTS) + STARTPORT; + port = (__getpid () % NPORTS) + STARTPORT; } res = -1; __set_errno (EADDRINUSE); |