summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/clnt_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/clnt_unix.c')
-rw-r--r--libc/inet/rpc/clnt_unix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/inet/rpc/clnt_unix.c b/libc/inet/rpc/clnt_unix.c
index 93ea42afd..7372e51b9 100644
--- a/libc/inet/rpc/clnt_unix.c
+++ b/libc/inet/rpc/clnt_unix.c
@@ -48,6 +48,7 @@
#define authnone_create __authnone_create
#define xdrrec_create __xdrrec_create
+#define xdrmem_create __xdrmem_create
#define getegid __getegid
#define __FORCE_GLIBC
@@ -506,7 +507,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 ();