summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravatar <avatar@FreeBSD.org>2008-06-27 15:29:48 +0000
committeravatar <avatar@FreeBSD.org>2008-06-27 15:29:48 +0000
commit23397956aa549244d739160aef4ec9a8c1b9fff3 (patch)
tree8c1b1f286413f1d3e2ff0c0fcd92d47eac692e14
parentb8058c375aa856936aacaae6aeffcb138d78267c (diff)
downloadFreeBSD-src-23397956aa549244d739160aef4ec9a8c1b9fff3.zip
FreeBSD-src-23397956aa549244d739160aef4ec9a8c1b9fff3.tar.gz
Fixing NO_INET6 build.
-rw-r--r--sys/nlm/nlm_prot_impl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/nlm/nlm_prot_impl.c b/sys/nlm/nlm_prot_impl.c
index 7647ae5..14c439e 100644
--- a/sys/nlm/nlm_prot_impl.c
+++ b/sys/nlm/nlm_prot_impl.c
@@ -1380,7 +1380,10 @@ nlm_server_main(int addr_count, char **addrs)
struct nlm_waiting_lock *nw;
vop_advlock_t *old_nfs_advlock;
vop_reclaim_t *old_nfs_reclaim;
- int v4_used, v6_used;
+ int v4_used;
+#ifdef INET6
+ int v6_used;
+#endif
if (nlm_socket) {
printf("NLM: can't start server - it appears to be running already\n");
OpenPOWER on IntegriCloud