Displaying 1 result from an estimated 1 matches for "f18cffa".
Did you mean:
f18c67fa
2010 Feb 23
0
[PATCH 2/3] nfsmount: s/PF_INET/AF_INET/
...c
@@ -39,7 +39,7 @@ struct portmap_reply {
static int bind_portmap(void)
{
- int sock = socket(PF_INET, SOCK_DGRAM, 0);
+ int sock = socket(AF_INET, SOCK_DGRAM, 0);
struct sockaddr_in sin;
if (sock < 0)
diff --git a/usr/kinit/nfsmount/mount.c b/usr/kinit/nfsmount/mount.c
index a55af91..f18cffa 100644
--- a/usr/kinit/nfsmount/mount.c
+++ b/usr/kinit/nfsmount/mount.c
@@ -290,9 +290,9 @@ int nfs_mount(const char *pathname, const char *hostname,
mounted = 1;
if (data->flags & NFS_MOUNT_TCP) {
- sock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP);
+ sock = socket(AF_INET, SOCK_STR...