From: Volker Lendecke Date: Wed, 24 May 2017 11:27:18 +0000 (+0200) Subject: g_lock: Fix two typos X-Git-Tag: ldb-1.1.31~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90e2bf50c7eea7f6df52646f613197d397c9bc01;p=thirdparty%2Fsamba.git g_lock: Fix two typos Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/lib/g_lock.c b/source3/lib/g_lock.c index 18157968f51..5b282e82e12 100644 --- a/source3/lib/g_lock.c +++ b/source3/lib/g_lock.c @@ -382,7 +382,7 @@ NTSTATUS g_lock_unlock(struct g_lock_ctx *ctx, const char *name) } } if (i == num_locks) { - DEBUG(10, ("g_lock_force_unlock: Lock not found\n")); + DBG_DEBUG("Lock not found, num_locks=%u\n", num_locks); status = NT_STATUS_NOT_FOUND; goto done; } @@ -399,8 +399,7 @@ NTSTATUS g_lock_unlock(struct g_lock_ctx *ctx, const char *name) status = dbwrap_record_store(rec, data, 0); } if (!NT_STATUS_IS_OK(status)) { - DEBUG(1, ("g_lock_force_unlock: Could not store record: %s\n", - nt_errstr(status))); + DBG_WARNING("Could not store record: %s\n", nt_errstr(status)); goto done; }