mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
s4-smbd: Show time event was expected to run, as well as the current wall clock time
This commit is contained in:
parent
11f88524e3
commit
cdfc49cc6a
@ -179,8 +179,8 @@ _NORETURN_ static void max_runtime_handler(struct tevent_context *ev,
|
|||||||
struct timeval t, void *private_data)
|
struct timeval t, void *private_data)
|
||||||
{
|
{
|
||||||
const char *binary_name = (const char *)private_data;
|
const char *binary_name = (const char *)private_data;
|
||||||
DEBUG(0,("%s: maximum runtime exceeded - terminating, current ts: %llu\n",
|
DEBUG(0,("%s: maximum runtime exceeded - terminating at %llu, current ts: %llu\n",
|
||||||
binary_name, (unsigned long long) time(NULL)));
|
binary_name, (unsigned long long)t.tv_sec, (unsigned long long) time(NULL)));
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user