[PATCH] small debug improvement
Jeremy Allison
jra at samba.org
Mon Oct 3 17:13:07 UTC 2016
On Wed, Sep 28, 2016 at 04:18:06PM -0700, Volker Lendecke wrote:
> Hi!
>
> Review appreciated!
LGTM - pushed !
> 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