summaryrefslogtreecommitdiff
path: root/nfs/nfs.c
diff options
context:
space:
mode:
authorMichael Kelly <mike@weatherwax.co.uk>2025-07-14 18:03:57 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-07-14 18:04:39 +0200
commit4951192cd25c2e1a7058046289d234eedcd39d70 (patch)
tree444bf7491c1fb5bd5cc7e7264711e444eb04fe12 /nfs/nfs.c
parentecb2d6fe006e7ee622126a8d773469be332fabdd (diff)
nfs: Use the variables for NFS program and NFS version rather than constants.
Diffstat (limited to 'nfs/nfs.c')
-rw-r--r--nfs/nfs.c2
1 files changed, 1 insertions, 1 deletions
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);
}