summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/clnt_generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/clnt_generic.c')
-rw-r--r--libc/inet/rpc/clnt_generic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/inet/rpc/clnt_generic.c b/libc/inet/rpc/clnt_generic.c
index 9124ccf16..fabcc2b32 100644
--- a/libc/inet/rpc/clnt_generic.c
+++ b/libc/inet/rpc/clnt_generic.c
@@ -70,12 +70,12 @@ clnt_create(hostname, prog, vers, proto)
rpc_createerr.cf_error.re_errno = EAFNOSUPPORT;
return (NULL);
}
-#ifdef linux
+#ifdef __linux__
bzero((char *) &sin, sizeof(sin));
#endif
sin.sin_family = h->h_addrtype;
sin.sin_port = 0;
-#ifndef linux
+#ifndef __linux__
bzero(sin.sin_zero, sizeof(sin.sin_zero));
#endif
bcopy(h->h_addr, (char*)&sin.sin_addr, h->h_length);