From f471af9ad37a7e1f11a8c0808a6ef73de53c5d48 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sun, 20 Aug 2017 00:53:09 +0200 Subject: add unit to timestamp --- extrace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extrace.c b/extrace.c index 4be6767..47cbb5d 100644 --- a/extrace.c +++ b/extrace.c @@ -369,8 +369,8 @@ handle_msg(struct cn_msg *cn_hdr) else fprintf(output, " exited status=%d", WEXITSTATUS(ev->event_data.exit.exit_code)); - fprintf(output, " time=%.3f\n", - (ev->timestamp_ns - pid_db[i].start) / 1e9 ); + fprintf(output, " time=%.3fs\n", + (ev->timestamp_ns - pid_db[i].start) / 1e9); fflush(output); } } -- cgit 1.4.1