From 581e9994266fb9434a52648737c1686728b5f04b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= Date: Fri, 4 Sep 2020 15:43:05 +0200 Subject: [PATCH] Update src/build-remote/build-remote.cc Co-authored-by: Eelco Dolstra --- src/build-remote/build-remote.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build-remote/build-remote.cc b/src/build-remote/build-remote.cc index 0e828a8cfbf..fe33259abdd 100644 --- a/src/build-remote/build-remote.cc +++ b/src/build-remote/build-remote.cc @@ -134,7 +134,7 @@ static int _main(int argc, char * * argv) debug("declined remote machine '%s' because it is disabled", storeUri); } else if (std::find(m.systemTypes.begin(), m.systemTypes.end(), neededSystem) == m.systemTypes.end()) { - printInfo(format("declined remote machine '%1%' for building '%2%' because it does not have the needed system type: '%3%") % m.storeUri % drvstr % neededSystem); + printInfo("declined remote machine '%s' for building '%s' because it does not have the needed system type '%s", m.storeUri, drvstr, neededSystem); } else if (!m.allSupported(requiredFeatures)) { std::string joinedFeatures = concatStringsSep(" ", requiredFeatures); // includes leading space printInfo(format("declined remote machine '%1%' for building '%2%' because it does not have all required features: [ %3% ]") % m.storeUri % drvstr % joinedFeatures);