summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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