[PATCH] linux-2.4.19-pre8/fs/ufs/super.c

From: Dec (dec@rm-f.net)
Date: Sun May 05 2002 - 07:04:33 EST


This patch fixes an UFS enabled 2.4.19-pre8 kernel compile problem.
Some printk() calls' format strings and their variable
arguments haven't been properly separated with commas.

--- linux-2.4.19-pre8/fs/ufs/super.c.orig Sun May 5 14:27:16 2002
+++ linux-2.4.19-pre8/fs/ufs/super.c Sun May 5 14:21:21 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;
         }
-
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:23 EST