From 7ec39756ac282b19087d895601b04e17c0cdf26d Mon Sep 17 00:00:00 2001
From: "Michael I. Bushnell" <mib@gnu.org>
Date: Thu, 1 Feb 1996 21:26:12 +0000
Subject: Formerly mount.c.~8~

---
 nfs/mount.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'nfs/mount.c')

diff --git a/nfs/mount.c b/nfs/mount.c
index 2c53b72e..1dcdac1e 100644
--- a/nfs/mount.c
+++ b/nfs/mount.c
@@ -1,5 +1,5 @@
 /* 
-   Copyright (C) 1995 Free Software Foundation, Inc.
+   Copyright (C) 1995, 1996 Free Software Foundation, Inc.
    Written by Michael I. Bushnell, p/BSG.
 
    This file is part of the GNU Hurd.
@@ -56,7 +56,7 @@ mount_root (char *name, char *host)
   struct node *np;
 
   /* Lookup the portmapper port number */
-  s = getservbyname ("portmap", "udp");
+  s = getservbyname ("sunrpc", "udp");
   if (!s)
     {
       fprintf (stderr, "portmap/udp: unknown service\n");
@@ -73,7 +73,7 @@ mount_root (char *name, char *host)
   
   addr.sin_family = h->h_addrtype;
   bcopy (h->h_addr_list[0], &addr.sin_addr, h->h_length);
-  addr.sin_port = htons (s->s_port);
+  addr.sin_port = s->s_port;
   
   connect (main_udp_socket,
 	   (struct sockaddr *)&addr, sizeof (struct sockaddr_in));
-- 
cgit v1.2.3