[fdb] Fixes to build for IDF w/o errors (#293)

This commit is contained in:
Anuj Deshpande
2024-04-24 20:24:11 +08:00
committed by GitHub
parent 77801ce3e4
commit 86d00aa5fd
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ fdb_err_t _fdb_init_ex(fdb_db_t db, const char *name, const char *path, fdb_db_t
} else {
/* must be aligned with block size */
if (db->sec_size % block_size != 0) {
FDB_INFO("Error: db sector size (%" PRIu32 ") MUST align with block size (%" PRIu32 ").\n", db->sec_size, block_size);
FDB_INFO("Error: db sector size (%" PRIu32 ") MUST align with block size (%zu).\n", db->sec_size, block_size);
return FDB_INIT_FAILED;
}
}