Commit 886c4b7f authored by Mike Hibler's avatar Mike Hibler code...mumble...mumble...signal handlers...

parent 05a179f3
......@@ -118,9 +118,10 @@ static event_handle_t handle;
static void sigpass(int sig)
char tbuf[32];
time_t ts = time(NULL);
info("event-sched[%d]: received signal %d at %s",
getpid(), sig, ctime(&ts));
getpid(), sig, ctime_r(&ts, tbuf));
if (emcd_pid != -1)
kill(emcd_pid, sig);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment