[PATCH] fs/ufs/super.c, kernel 2.4.18-pre8

elvo@virgilio.it
Tue, 28 May 2002 22:35:35 +0000


hi all,

there's a little compilation error concerning commas
in the fs/ufs/super.c code, a little patch follows.

elv

ufs_read_super.diff:

--- /root/super.c Mon May 27 17:42:22 2002
+++ super.c Mon May 27 17:43:09 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;
}

// EOF

-
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/