Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/utility
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-10-23 04:39:15 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2023-10-23 04:39:15 +1100
commitced12b62e0f07a87acde665589fe333075b35178 (patch)
tree02bbcbd15d549230cf2d936fff2b796a59755104 /source/utility
parent87ee9485190aa97cc05f500121e492cd7e27f7bd (diff)
Fix formatting in BTree Repacker
Diffstat (limited to 'source/utility')
-rw-r--r--source/utility/btree_repacker.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/utility/btree_repacker.cpp b/source/utility/btree_repacker.cpp
index 14f0fb1..ee65609 100644
--- a/source/utility/btree_repacker.cpp
+++ b/source/utility/btree_repacker.cpp
@@ -34,7 +34,7 @@ int main(int argc, char** argv) {
newDb.setIODevice(std::move(File::open(outputFilename, IOMode::ReadWrite | IOMode::Truncate)));
newDb.open();
- coutf("Repacking %s...\n", bTreePath);
+ coutf("Repacking {}...\n", bTreePath);
//copy the data over
unsigned count = 0;
db.forAll([&count, &newDb](ByteArray key, ByteArray data) {
@@ -48,11 +48,11 @@ int main(int argc, char** argv) {
newDb.commit();
newDb.close();
- coutf("Repacked BTree to %s in %ss\n", outputFilename, Time::monotonicTime() - startTime);
+ coutf("Repacked BTree to {} in {}s\n", outputFilename, Time::monotonicTime() - startTime);
return 0;
} catch (std::exception const& e) {
- cerrf("Exception caught: %s\n", outputException(e, true));
+ cerrf("Exception caught: {}\n", outputException(e, true));
return 1;
}
}