From 594c01b509eb69aac3d3213cd3065dbdb596d959 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 26 Oct 2023 15:12:19 +0200 Subject: mico-sort: better warning for duplicate timestamps --- mico-sort.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mico-sort.c b/mico-sort.c index 533eea5..9dc61dc 100644 --- a/mico-sort.c +++ b/mico-sort.c @@ -162,7 +162,8 @@ main() v = metrics[m].value[i].v; if (t == pt) { - fprintf(stderr, "duplicate timestamp: %ld", t); + fprintf(stderr, "duplicate timestamp: %s %ld\n", + metrics[m].key, t); continue; } -- cgit 1.4.1