ext2: resolve Coverity warnings
This commit is contained in:
parent
4aec9db571
commit
5456f2728e
1 changed files with 1 additions and 1 deletions
|
@ -109,8 +109,8 @@ register struct super_block *sp; /* pointer to a superblock */
|
|||
|
||||
if (sp->s_block_size < _MIN_BLOCK_SIZE
|
||||
|| sp->s_block_size >_MAX_BLOCK_SIZE) {
|
||||
printf("data block size (%u) is invalid\n", sp->s_block_size);
|
||||
return(EINVAL);
|
||||
printf("data block size is too large\n");
|
||||
}
|
||||
|
||||
if ((sp->s_block_size % 512) != 0)
|
||||
|
|
Loading…
Reference in a new issue