Miles Lane wrote:
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=athlon
> -DKBUILD_BASENAME=super -c -o super.o super.c
> super.c: In function `ufs_fill_super':
> super.c:661: parse error before "uspi"
> super.c:666: parse error before "uspi"
> super.c:676: parse error before "uspi"
> super.c:681: parse error before "uspi"
> make[3]: *** [super.o] Error 1
> make[3]: Leaving directory `/usr/src/linux/fs/ufs'
The fix has already been posted. 4 missing commas.
--- fs/ufs/super.c.bak Fri May 3 01:53:30 2002
+++ fs/ufs/super.c Fri May 3 01:53:54 2002
@@ -663,12 +663,12 @@
goto failed;
}
if (uspi->s_bsize < 512) {
- printk("ufs_read_super: fragment size %u is too small\n"
+ printk("ufs_read_super: fragment size %u is too small\n",
uspi->s_fsize);
goto failed;
}
if (uspi->s_bsize > 4096) {
- printk("ufs_read_super: fragment size %u is too large\n"
+ printk("ufs_read_super: fragment size %u is too large\n",
uspi->s_fsize);
goto failed;
}
@@ -678,12 +678,12 @@
goto failed;
}
if (uspi->s_bsize < 4096) {
- printk("ufs_read_super: block size %u is too small\n"
+ printk("ufs_read_super: block size %u is too small\n",
uspi->s_fsize);
goto failed;
}
if (uspi->s_bsize / uspi->s_fsize > 8) {
- printk("ufs_read_super: too many fragments per block (%u)\n"
+ printk("ufs_read_super: too many fragments per block (%u)\n",
uspi->s_bsize / uspi->s_fsize);
goto failed;
}
-- Skip - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:18 EST