From 1cefd6cac851b75f8110a63b128d1554c2fffa29 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 20 Feb 2016 00:02:37 +0100 Subject: [PATCH] Fix log message --- src/hydra-queue-runner/binary-cache-store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hydra-queue-runner/binary-cache-store.cc b/src/hydra-queue-runner/binary-cache-store.cc index 6370c3b4..873b83b4 100644 --- a/src/hydra-queue-runner/binary-cache-store.cc +++ b/src/hydra-queue-runner/binary-cache-store.cc @@ -68,7 +68,7 @@ void BinaryCacheStore::addToCache(const ValidPathInfo & info, auto duration = std::chrono::duration_cast(now2 - now1).count(); printMsg(lvlTalkative, format("copying path ‘%1%’ (%2% bytes, compressed %3$.1f%% in %4% ms) to binary cache") - % info.path % info.narSize + % narInfo.path % narInfo.narSize % ((1.0 - (double) narXz.size() / nar.size()) * 100.0) % duration);