diff --git a/src/libckpool.c b/src/libckpool.c index 100a5f95..3888efc2 100644 --- a/src/libckpool.c +++ b/src/libckpool.c @@ -784,7 +784,7 @@ int round_trip(char *url) url, port, diff); diff = 500; } - LOGINFO("Minimum round trip to %s:%s calculated as %d", url, port, ret); + LOGINFO("Minimum round trip to %s:%s calculated as %dms", url, port, ret); out: Close(sockd); freeaddrinfo(p); diff --git a/src/stratifier.c b/src/stratifier.c index 9123faaf..54ca017c 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -5436,7 +5436,7 @@ static void *set_node_latency(void *arg) pthread_detach(pthread_self()); client->latency = round_trip(client->address) / 2; - LOGNOTICE("Node client %"PRId64" %s latency set to %d", client->id, + LOGNOTICE("Node client %"PRId64" %s latency set to %dms", client->id, client->address, client->latency); dec_instance_ref(client->sdata, client); return NULL;