diff --git a/endlessh.c b/endlessh.c index 1e52e62..470cbf2 100644 --- a/endlessh.c +++ b/endlessh.c @@ -147,7 +147,7 @@ statistics_log_totals(struct client *clients) long long milliseconds = statistics.milliseconds; for (long long now = epochms(); clients; clients = clients->next) milliseconds += now - clients->connect_time; - logmsg(LOG_INFO, "TOTALS connects=%lld seconds=%lld.%lld bytes=%lld", + logmsg(LOG_INFO, "TOTALS connects=%lld seconds=%lld.%03lld bytes=%lld", statistics.connects, milliseconds / 1000, milliseconds % 1000,