From: Andrew Bartlett Date: Sun, 19 Feb 2012 21:08:19 +0000 (+1100) Subject: s4-smbd: Show time event was expected to run, as well as the current wall clock time X-Git-Tag: samba-4.0.0alpha18~70 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cdfc49cc6a96d08a81a780c85b8f7bbaeb7f352d;p=thirdparty%2Fsamba.git s4-smbd: Show time event was expected to run, as well as the current wall clock time --- diff --git a/source4/smbd/server.c b/source4/smbd/server.c index 1cb829f437b..b877e29b98f 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -179,8 +179,8 @@ _NORETURN_ static void max_runtime_handler(struct tevent_context *ev, struct timeval t, void *private_data) { const char *binary_name = (const char *)private_data; - DEBUG(0,("%s: maximum runtime exceeded - terminating, current ts: %llu\n", - binary_name, (unsigned long long) time(NULL))); + DEBUG(0,("%s: maximum runtime exceeded - terminating at %llu, current ts: %llu\n", + binary_name, (unsigned long long)t.tv_sec, (unsigned long long) time(NULL))); exit(0); }