From: Volker Lendecke Date: Thu, 16 Aug 2018 09:34:36 +0000 (+0200) Subject: g_lock: Fix DEBUG messages X-Git-Tag: tdb-1.3.17~2110 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fea8ebce485c6cdd5c312e7d5caef72d52c904fd;p=thirdparty%2Fsamba.git g_lock: Fix DEBUG messages Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/lib/g_lock.c b/source3/lib/g_lock.c index 9090a2d873c..96e5612529d 100644 --- a/source3/lib/g_lock.c +++ b/source3/lib/g_lock.c @@ -167,14 +167,14 @@ struct g_lock_ctx *g_lock_ctx_init(TALLOC_CTX *mem_ctx, DBWRAP_FLAG_NONE); TALLOC_FREE(db_path); if (backend == NULL) { - DEBUG(1, ("g_lock_init: Could not open g_lock.tdb\n")); + DBG_WARNING("Could not open g_lock.tdb\n"); TALLOC_FREE(result); return NULL; } result->db = db_open_watched(result, backend, msg); if (result->db == NULL) { - DBG_WARNING("g_lock_init: db_open_watched failed\n"); + DBG_WARNING("db_open_watched failed\n"); TALLOC_FREE(result); return NULL; }