From 0f83aa865090bfaf06add6a9e8b7215ab1db7d95 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 27 Jun 2010 15:36:38 +0200 Subject: s3: Remove the dependency of g_lock on procid_self procid_self() references global vars, don't depend on them unnecessarily --- source3/utils/net_registry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils/net_registry.c') diff --git a/source3/utils/net_registry.c b/source3/utils/net_registry.c index 4a6af959dc..f90d05454b 100644 --- a/source3/utils/net_registry.c +++ b/source3/utils/net_registry.c @@ -488,7 +488,7 @@ static int net_registry_increment(struct net_context *c, int argc, } status = g_lock_do("registry_increment_lock", G_LOCK_WRITE, - timeval_set(600, 0), + timeval_set(600, 0), procid_self(), net_registry_increment_fn, &state); if (!NT_STATUS_IS_OK(status)) { d_fprintf(stderr, _("g_lock_do failed: %s\n"), -- cgit