summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2023-10-26 15:12:19 +0200
committerLeah Neukirchen <leah@vuxu.org>2023-10-26 15:12:19 +0200
commit594c01b509eb69aac3d3213cd3065dbdb596d959 (patch)
tree3cd78f55f38a8519a2c68ac4affd1fe984c8f874
parent1074c1614e218bf9b096837754ce424a48cbcc9e (diff)
downloadmico-594c01b509eb69aac3d3213cd3065dbdb596d959.tar.gz
mico-594c01b509eb69aac3d3213cd3065dbdb596d959.tar.xz
mico-594c01b509eb69aac3d3213cd3065dbdb596d959.zip
mico-sort: better warning for duplicate timestamps HEAD master
-rw-r--r--mico-sort.c3
1 files changed, 2 insertions, 1 deletions
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;
 			}