summaryrefslogtreecommitdiffstats
path: root/sys/nfsserver
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2009-05-24 11:10:27 +0000
committerdfr <dfr@FreeBSD.org>2009-05-24 11:10:27 +0000
commit4bf244123ecedd7390a6ddc01c55c6ab985e3745 (patch)
treef432c75ed3fd670bfd8defaa3f492cdefbf7f357 /sys/nfsserver
parentb7ef144eae1063beeb611187af401aa7ca9611e5 (diff)
downloadFreeBSD-src-4bf244123ecedd7390a6ddc01c55c6ab985e3745.zip
FreeBSD-src-4bf244123ecedd7390a6ddc01c55c6ab985e3745.tar.gz
Fix build of KGSSAPI bits post-vimage.
Diffstat (limited to 'sys/nfsserver')
-rw-r--r--sys/nfsserver/nfs_srvkrpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/nfsserver/nfs_srvkrpc.c b/sys/nfsserver/nfs_srvkrpc.c
index 77bdec8..030d02a 100644
--- a/sys/nfsserver/nfs_srvkrpc.c
+++ b/sys/nfsserver/nfs_srvkrpc.c
@@ -61,6 +61,7 @@ __FBSDID("$FreeBSD$");
#include <sys/fcntl.h>
#include <sys/lockf.h>
#include <sys/eventhandler.h>
+#include <sys/vimage.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
@@ -488,7 +489,7 @@ nfssvc_nfsd(struct thread *td, struct nfsd_nfsd_args *args)
if (error)
return (error);
} else {
- snprintf(principal, sizeof(principal), "nfs@%s", hostname);
+ snprintf(principal, sizeof(principal), "nfs@%s", V_hostname);
}
#endif
OpenPOWER on IntegriCloud