aboutsummaryrefslogtreecommitdiff
path: root/sys/nlm
diff options
context:
space:
mode:
authorJamie Gritton <jamie@FreeBSD.org>2009-06-13 15:39:12 +0000
committerJamie Gritton <jamie@FreeBSD.org>2009-06-13 15:39:12 +0000
commitc1f192193d05ec3b3f92d0aba3464f84679da895 (patch)
treef9cfb93ff7fc2f89561efcde362151b31946e095 /sys/nlm
parent01de879ac78b0d13244411f0b93b2c5ab440fa39 (diff)
downloadsrc-c1f192193d05ec3b3f92d0aba3464f84679da895.tar.gz
src-c1f192193d05ec3b3f92d0aba3464f84679da895.zip
Rename the host-related prison fields to be the same as the host.*
parameters they represent, and the variables they replaced, instead of abbreviated versions of them. Approved by: bz (mentor)
Notes
Notes: svn path=/head/; revision=194118
Diffstat (limited to 'sys/nlm')
-rw-r--r--sys/nlm/nlm_advlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nlm/nlm_advlock.c b/sys/nlm/nlm_advlock.c
index 029f77b208dc..b179595c5d02 100644
--- a/sys/nlm/nlm_advlock.c
+++ b/sys/nlm/nlm_advlock.c
@@ -1226,7 +1226,7 @@ nlm_init_lock(struct flock *fl, int flags, int svid,
oh_len = strlen(oh_space);
memset(lock, 0, sizeof(*lock));
- lock->caller_name = prison0.pr_host;
+ lock->caller_name = prison0.pr_hostname;
lock->fh.n_len = fhlen;
lock->fh.n_bytes = fh;
lock->oh.n_len = oh_len;