Enable clang -Wformat warning

This commit is contained in:
sfc-gh-tclinkenbeard
2021-10-30 21:07:38 -07:00
parent 45a66f9f75
commit 13bb7838aa
16 changed files with 126 additions and 125 deletions

View File

@@ -48,7 +48,7 @@ ACTOR Future<Void> printProcessClass(Reference<IDatabase> db) {
ASSERT(processSourceList.size() == processTypeList.size());
if (!processTypeList.size())
printf("No processes are registered in the database.\n");
printf("There are currently %zu processes in the database:\n", processTypeList.size());
printf("There are currently %d processes in the database:\n", processTypeList.size());
for (int index = 0; index < processTypeList.size(); index++) {
std::string address =
processTypeList[index].key.removePrefix(fdb_cli::processClassTypeSpecialKeyRange.begin).toString();