summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/g_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/g_lock.c b/source3/lib/g_lock.c
index 7a9161e7a6..184da9b4fd 100644
--- a/source3/lib/g_lock.c
+++ b/source3/lib/g_lock.c
@@ -397,7 +397,7 @@ NTSTATUS g_lock_lock(struct g_lock_ctx *ctx, const char *name,
status = NT_STATUS_NO_MEMORY;
break;
}
- num_pollfds = 1;
+ num_pollfds = 0;
#ifdef CLUSTER_SUPPORT
if (lp_clustering()) {