Fix invalid block size reporting.
This boilerplate got copied from the stanza just above and incompletely edited.
This commit is contained in:
@@ -4195,7 +4195,7 @@ static int lfs_rawmount(lfs_t *lfs, const struct lfs_config *cfg) {
|
|||||||
|
|
||||||
if (superblock.block_size != lfs->cfg->block_size) {
|
if (superblock.block_size != lfs->cfg->block_size) {
|
||||||
LFS_ERROR("Invalid block size (%"PRIu32" != %"PRIu32")",
|
LFS_ERROR("Invalid block size (%"PRIu32" != %"PRIu32")",
|
||||||
superblock.block_count, lfs->cfg->block_count);
|
superblock.block_size, lfs->cfg->block_size);
|
||||||
err = LFS_ERR_INVAL;
|
err = LFS_ERR_INVAL;
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user