From 291146fb196adf163ff450d6f5ab0752c7cd1b27 Mon Sep 17 00:00:00 2001 From: Kevin Lange Date: Sat, 21 Jan 2017 13:37:35 +0900 Subject: [PATCH] Lower some log severities in ext2 --- modules/ext2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ext2.c b/modules/ext2.c index 30a6a3b9..20dc560b 100644 --- a/modules/ext2.c +++ b/modules/ext2.c @@ -568,7 +568,7 @@ static unsigned int inode_read_block(ext2_fs_t * this, ext2_inodetable_t * inode if (block >= inode->blocks / (this->block_size / 512)) { memset(buf, 0x00, this->block_size); - debug_print(CRITICAL, "Tried to read an invalid block. Asked for %d, but inode only has %d!", block, inode->blocks / (this->block_size / 512)); + debug_print(WARNING, "Tried to read an invalid block. Asked for %d (0-indexed), but inode only has %d!", block, inode->blocks / (this->block_size / 512)); return 0; }