[PATCH] small debug improvement

Volker Lendecke vl at samba.org
Wed Sep 28 23:18:06 UTC 2016


Hi!

Review appreciated!

Thanks, Volker
-------------- next part --------------
>From df89dd58a91f7d2369741dcd166f0b7803c05b88 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Tue, 20 Sep 2016 10:52:46 -0700
Subject: [PATCH] dbwrap_watch: Improve a debug message

Signed-off-by: Volker Lendecke <vl at samba.org>
---
 source3/lib/dbwrap/dbwrap_watch.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/source3/lib/dbwrap/dbwrap_watch.c b/source3/lib/dbwrap/dbwrap_watch.c
index 8054330..442191a 100644
--- a/source3/lib/dbwrap/dbwrap_watch.c
+++ b/source3/lib/dbwrap/dbwrap_watch.c
@@ -754,7 +754,9 @@ static bool dbwrap_watched_remove_waiter(struct db_watched_subrec *subrec,
 	}
 
 	if (i == num_watchers) {
-		DBG_WARNING("Did not find id in state->watchers\n");
+		struct server_id_buf buf;
+		DBG_WARNING("Did not find %s in state->watchers\n",
+			    server_id_str_buf(id, &buf));
 		return false;
 	}
 
-- 
2.7.4



More information about the samba-technical mailing list