From 94689b93d0129bd54d72db6048cad4c4a9dfa2b8 Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Wed, 12 Feb 2014 13:35:59 -0500 Subject: [PATCH] brlock: debug patch Signed-off-by: Jeff Layton --- source3/locking/brlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c index 865aaca1b4fa..e79180a20adf 100644 --- a/source3/locking/brlock.c +++ b/source3/locking/brlock.c @@ -1933,7 +1933,7 @@ static struct byte_range_lock *brl_get_locks_internal(TALLOC_CTX *mem_ctx, NTSTATUS status; status = dbwrap_fetch(brlock_db, br_lck, key, &data); if (!NT_STATUS_IS_OK(status)) { - DEBUG(3, ("Could not fetch byte range lock record\n")); + DEBUG(3, ("Could not fetch byte range lock record: %d\n", NT_STATUS_V(status))); TALLOC_FREE(br_lck); return NULL; } -- 1.8.5.3