search for: 6fb81a1

Displaying 1 result from an estimated 1 matches for "6fb81a1".

Did you mean: 6bf81a9
2010 Feb 23
0
[PATCH 2/3] nfsmount: s/PF_INET/AF_INET/
...REAM, IPPROTO_TCP); + sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); } else { - sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP); + sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); } if (sock == -1) { diff --git a/usr/kinit/nfsmount/sunrpc.c b/usr/kinit/nfsmount/sunrpc.c index 6607cf7..6fb81a1 100644 --- a/usr/kinit/nfsmount/sunrpc.c +++ b/usr/kinit/nfsmount/sunrpc.c @@ -152,7 +152,7 @@ struct client *tcp_client(uint32_t server, uint16_t port, uint32_t flags) memset(clnt, 0, sizeof(clnt)); - if ((sock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP)) == -1) { + if ((sock = socket(AF_INE...