summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 da438fdd5d..e240daa2a4 100644
--- a/source3/lib/gencache.c
+++ b/source3/lib/gencache.c
@@ -859,7 +859,7 @@ static void gencache_iterate_fn(const char *key, DATA_BLOB value,
DEBUG(10, ("Calling function with arguments "
"(key=[%s], value=[%s], timeout=[%s])\n",
- key, valstr, ctime(&timeout)));
+ key, valstr, timestring(talloc_tos(), timeout)));
state->fn(key, valstr, timeout, state->private_data);