Commit c3f23abb authored by Federico Vaga's avatar Federico Vaga

tools:tstamp: improve testing mode output

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 2ef88fe4
......@@ -155,8 +155,8 @@ static int tstamp_testing_mode_1(struct fmctdc_time *ts, unsigned int n)
ns_c = fmctdc_ts_approx_ns(&ts[i]);
if (ns_p >= ns_c) {
fprintf(stderr,
"*** Invalid timestamp. Previous %"PRIu64"ns, current %"PRIu64"ns current one should be greater\n",
ns_p, ns_c);
"*** Invalid timestamp. Previous %d %"PRIu64"ns, current %d %"PRIu64"ns current one should be greater\n",
ts_prev.seq_id, ns_p, ts[i].seq_id, ns_c);
return -EINVAL;
}
......
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