From 648b9e91815449750381372cbd3e885995534c51 Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Thu, 21 Nov 2019 23:33:02 -0800 Subject: [PATCH] pier: improves replay printfs --- pkg/urbit/vere/pier.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkg/urbit/vere/pier.c b/pkg/urbit/vere/pier.c index 60e1181a1..0039dec19 100644 --- a/pkg/urbit/vere/pier.c +++ b/pkg/urbit/vere/pier.c @@ -1656,10 +1656,14 @@ _pier_boot_ready(u3_pier* pir_u) // _pier_work_boot(pir_u, c3n); } + else if ( (1ULL + god_u->dun_d) == log_u->com_d ) { + fprintf(stderr, "pier: replaying event %" PRIu64 "\r\n", + log_u->com_d); + } else { fprintf(stderr, "pier: replaying events %" PRIu64 " through %" PRIu64 "\r\n", - god_u->dun_d, + (c3_d)(1ULL + god_u->dun_d), log_u->com_d); }