Displaying 1 result from an estimated 1 matches for "bind_portmap".
2010 Feb 23
0
[PATCH 2/3] nfsmount: s/PF_INET/AF_INET/
...| 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/usr/kinit/nfsmount/dummypmap.c b/usr/kinit/nfsmount/dummypmap.c
index 43abe37..481e23b 100644
--- a/usr/kinit/nfsmount/dummypmap.c
+++ b/usr/kinit/nfsmount/dummypmap.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/nfsmo...