From 4d3928a8f494661764f4a3367b2f1b94772dedf9 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 11 Feb 2013 13:41:12 +0100 Subject: [PATCH] gencache: unify a DEBUG message in gencache_set_data_blob() Signed-off-by: Michael Adam Reviewed-by: Stefan Metzmacher --- source3/lib/gencache.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source3/lib/gencache.c b/source3/lib/gencache.c index 237faf9d3d32..09f4b8d09420 100644 --- a/source3/lib/gencache.c +++ b/source3/lib/gencache.c @@ -286,8 +286,9 @@ bool gencache_set_data_blob(const char *keystr, const DATA_BLOB *blob, return false; } - DEBUG(10, ("Adding cache entry with key = %s and timeout =" - " %s (%d seconds %s)\n", keystr, ctime(&timeout), + DEBUG(10, ("Adding cache entry with key=[%s] and timeout=" + "[%s] (%d seconds %s)\n", keystr, + ctime(&timeout), (int)(timeout - time(NULL)), timeout > time(NULL) ? "ahead" : "in the past")); -- 2.34.1