summaryrefslogtreecommitdiffstats
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 e240daa2a4..18bfc7ccf9 100644
--- a/source3/lib/gencache.c
+++ b/source3/lib/gencache.c
@@ -288,7 +288,7 @@ bool gencache_set_data_blob(const char *keystr, const DATA_BLOB *blob,
DEBUG(10, ("Adding cache entry with key=[%s] and timeout="
"[%s] (%d seconds %s)\n", keystr,
- ctime(&timeout),
+ timestring(talloc_tos(), timeout),
(int)(timeout - time(NULL)),
timeout > time(NULL) ? "ahead" : "in the past"));