From: David van Moolenbroek Date: Mon, 13 Aug 2012 16:37:26 +0000 (+0000) Subject: ext2: resolve Coverity warnings X-Git-Tag: v3.2.1~373 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/dnssec-revoke.html?a=commitdiff_plain;h=5456f2728e088f02965b001e9d1048064d806e93;p=minix.git ext2: resolve Coverity warnings --- diff --git a/servers/ext2/super.c b/servers/ext2/super.c index 317a55a04..7edab339c 100644 --- a/servers/ext2/super.c +++ b/servers/ext2/super.c @@ -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)