summaryrefslogtreecommitdiff
path: root/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'nfs')
-rw-r--r--nfs/mount.c4
-rw-r--r--nfs/nfs.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/nfs/mount.c b/nfs/mount.c
index 65b9a9b1..75a6f9b3 100644
--- a/nfs/mount.c
+++ b/nfs/mount.c
@@ -231,8 +231,8 @@ mount_root (char *name, char *host)
error (0, errno, "rpc");
goto error_with_rpcbuf;
}
- *(p++) = htonl (NFS_PROGRAM);
- *(p++) = htonl (NFS_VERSION);
+ *(p++) = htonl (nfs_program);
+ *(p++) = htonl (nfs_version);
*(p++) = htonl (IPPROTO_UDP);
*(p++) = htonl (0);
err = conduct_rpc (&rpcbuf, &p);
diff --git a/nfs/nfs.c b/nfs/nfs.c
index cd377ff2..313c1e4a 100644
--- a/nfs/nfs.c
+++ b/nfs/nfs.c
@@ -608,7 +608,7 @@ nfs_initialize_rpc (int rpc_proc, struct iouser *cred,
else
uid = gid = second_gid = -1;
- return initialize_rpc (NFS_PROGRAM, NFS_VERSION, rpc_proc, len, bufp,
+ return initialize_rpc (nfs_program, nfs_version, rpc_proc, len, bufp,
uid, gid, second_gid);
}