dbwrap_watch: Improve a debug message
authorVolker Lendecke <vl@samba.org>
Tue, 20 Sep 2016 17:52:46 +0000 (10:52 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 3 Oct 2016 17:49:19 +0000 (19:49 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/dbwrap/dbwrap_watch.c

index 00c332fe9ae8d1e873d1031de2b456dfff9cbd12..a44f6f131f2ac6c6420b0048db4358aa4558da5a 100644 (file)
@@ -737,7 +737,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;
        }