summaryrefslogtreecommitdiff
path: root/nfs/mount.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-12-14 17:24:43 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-12-14 17:24:43 +0000
commitb53ca6e1306d1dceabd2f9e3b2faf8489e597606 (patch)
tree24d11e0204dd19ce566724d56d0a062748a7e7a7 /nfs/mount.c
parent8683ea74ab5cd6ebae78ab719b7e720e2e259743 (diff)
Formerly mount.c.~6~
Diffstat (limited to 'nfs/mount.c')
-rw-r--r--nfs/mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nfs/mount.c b/nfs/mount.c
index efd8ba02..0113d665 100644
--- a/nfs/mount.c
+++ b/nfs/mount.c
@@ -119,8 +119,8 @@ mount_root (char *name, char *host)
}
/* Create the node for root */
- np = netfs_make_node ();
- p = xdr_decode_fhandle (p, &np->nn->handle);
+ np = lookup_fhandle (p);
+ p += NFS_FHSIZE / sizeof (int);
free (rpcbuf);
/* Now send another PMAPPROC_GETPORT request to lookup the nfs server. */