summaryrefslogtreecommitdiff
path: root/nfs/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'nfs/mount.c')
-rw-r--r--nfs/mount.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nfs/mount.c b/nfs/mount.c
index 233a0298..a7ceaf50 100644
--- a/nfs/mount.c
+++ b/nfs/mount.c
@@ -176,8 +176,7 @@ mount_root (char *name, char *host)
}
/* Create the node for root */
- np = lookup_fhandle (p);
- p += NFS2_FHSIZE / sizeof (int);
+ lookup_fhandle (p, &np);
free (rpcbuf);
mutex_unlock (&np->lock);