summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/svc_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/svc_unix.c')
-rw-r--r--libc/inet/rpc/svc_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/rpc/svc_unix.c b/libc/inet/rpc/svc_unix.c
index d1568e4a7..5d3025876 100644
--- a/libc/inet/rpc/svc_unix.c
+++ b/libc/inet/rpc/svc_unix.c
@@ -376,7 +376,7 @@ __msgwrite (int sock, void *data, size_t cnt)
/* XXX I'm not sure, if gete?id() is always correct, or if we should use
get?id(). But since keyserv needs geteuid(), we have no other chance.
It would be much better, if the kernel could pass both to the server. */
- cred.pid = getpid ();
+ cred.pid = __getpid ();
cred.uid = geteuid ();
cred.gid = getegid ();