aboutsummaryrefslogtreecommitdiff
path: root/sys/nlm
diff options
context:
space:
mode:
authorTai-hwa Liang <avatar@FreeBSD.org>2008-06-27 15:29:48 +0000
committerTai-hwa Liang <avatar@FreeBSD.org>2008-06-27 15:29:48 +0000
commit5461c0b226f6793d01c4b2d6faed22f0c631518a (patch)
tree8c1b1f286413f1d3e2ff0c0fcd92d47eac692e14 /sys/nlm
parent3c46f7891b522ff5785726aafa9748b77feea545 (diff)
downloadsrc-5461c0b226f6793d01c4b2d6faed22f0c631518a.tar.gz
src-5461c0b226f6793d01c4b2d6faed22f0c631518a.zip
Notes
Diffstat (limited to 'sys/nlm')
-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 7647ae520c27..14c439e1d132 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");