summaryrefslogtreecommitdiff
path: root/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'nfs')
-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. */