From: Ben Gras Date: Thu, 8 Sep 2005 16:00:44 +0000 (+0000) Subject: diagnostics will look funny during setup X-Git-Tag: v3.1.0~149 X-Git-Url: http://zhaoyanbai.com/repos/%22../static/icons/addsub.png?a=commitdiff_plain;h=119f9c714cc81da0076e3a5414b5defe9bd89a70;p=minix.git diagnostics will look funny during setup --- diff --git a/servers/fs/super.c b/servers/fs/super.c index 274bfd125..391a2780c 100644 --- a/servers/fs/super.c +++ b/servers/fs/super.c @@ -239,7 +239,6 @@ register struct super_block *sp; /* pointer to a superblock */ version = V3; native = 1; } else { - printf("unrecognized magic number\n"); return(EINVAL); } @@ -282,7 +281,6 @@ register struct super_block *sp; /* pointer to a superblock */ } if(sp->s_block_size < MIN_BLOCK_SIZE) { - printf("block size (%d) out of range\n", sp->s_block_size); return EINVAL; } if(sp->s_block_size > MAX_BLOCK_SIZE) { @@ -292,19 +290,13 @@ register struct super_block *sp; /* pointer to a superblock */ return EINVAL; } if((sp->s_block_size % 512) != 0) { - printf("block size (%d) not multiple of sector size\n", - sp->s_block_size); return EINVAL; } if(SUPER_SIZE > sp->s_block_size) { - printf("super block size size (%d) larger than block size (%d)\n", - SUPER_SIZE, sp->s_block_size); return EINVAL; } if((sp->s_block_size % V2_INODE_SIZE) != 0 || (sp->s_block_size % V1_INODE_SIZE) != 0) { - printf("super block size size (%d) not multiple of inode size\n", - sp->s_block_size); return EINVAL; }