diff options
author | jamie <jamie@FreeBSD.org> | 2009-06-13 15:39:12 +0000 |
---|---|---|
committer | jamie <jamie@FreeBSD.org> | 2009-06-13 15:39:12 +0000 |
commit | f419891544e311aa974e0648e0455a9de14ea0fa (patch) | |
tree | f9cfb93ff7fc2f89561efcde362151b31946e095 /sys/nfsclient/nfs_vfsops.c | |
parent | dbcc94be36eb7e16660d9d09b9885c37b7e22d1d (diff) | |
download | FreeBSD-src-f419891544e311aa974e0648e0455a9de14ea0fa.zip FreeBSD-src-f419891544e311aa974e0648e0455a9de14ea0fa.tar.gz |
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)
Diffstat (limited to 'sys/nfsclient/nfs_vfsops.c')
-rw-r--r-- | sys/nfsclient/nfs_vfsops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index 5bc5cfd..6a28eab 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -524,7 +524,8 @@ nfs_mountroot(struct mount *mp) * mount the right /var based upon its preset value. */ mtx_lock(&prison0.pr_mtx); - strlcpy(prison0.pr_host, nd->my_hostnam, sizeof (prison0.pr_host)); + strlcpy(prison0.pr_hostname, nd->my_hostnam, + sizeof (prison0.pr_hostname)); mtx_unlock(&prison0.pr_mtx); inittodr(ntohl(nd->root_time)); return (0); |