summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-02-13 09:43:19 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 13:58:09 +0100
commitf7525abf3bc561a2b783523ef82520954c4e9d84 (patch)
treecd18103a154402837c6cb157f66a6fd29835e7e4 /source3
parent762dd3cf29788a9f8ab66fd96ad2b9cc20f621f3 (diff)
downloadsamba-f7525abf3bc561a2b783523ef82520954c4e9d84.tar.gz
samba-f7525abf3bc561a2b783523ef82520954c4e9d84.tar.bz2
samba-f7525abf3bc561a2b783523ef82520954c4e9d84.zip
gencache: fix an extra newline in a DEBUG message in gencache_iterate_blobs_fn()
by using timestring() instead of ctime() Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/gencache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/gencache.c b/source3/lib/gencache.c
index 09f4b8d094..da438fdd5d 100644
--- a/source3/lib/gencache.c
+++ b/source3/lib/gencache.c
@@ -789,7 +789,7 @@ static int gencache_iterate_blobs_fn(struct tdb_context *tdb, TDB_DATA key,
DEBUG(10, ("Calling function with arguments "
"(key=[%s], timeout=[%s])\n",
- keystr, ctime(&timeout)));
+ keystr, timestring(talloc_tos(), timeout)));
state->fn(keystr,
data_blob_const(endptr,