summaryrefslogtreecommitdiffstats
path: root/fs/fat/misc.c
diff options
context:
space:
mode:
authorVegard Nossum2008-02-06 10:36:36 +0100
committerLinus Torvalds2008-02-06 19:41:02 +0100
commitb4cf9c342a2887f425780c23ad2be3077949cee2 (patch)
tree32d7344d18cb1b801ed7b66c10140f794a1b7ed0 /fs/fat/misc.c
parentproper show_interrupts() prototype (diff)
downloadkernel-qcow2-linux-b4cf9c342a2887f425780c23ad2be3077949cee2.tar.gz
kernel-qcow2-linux-b4cf9c342a2887f425780c23ad2be3077949cee2.tar.xz
kernel-qcow2-linux-b4cf9c342a2887f425780c23ad2be3077949cee2.zip
FAT: Fix printk format strings
This makes sure printk format strings contain no more than a single line. Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com> [the message was tweaked.] Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fat/misc.c')
-rw-r--r--fs/fat/misc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/fat/misc.c b/fs/fat/misc.c
index 308f2b6b5026..61f23511eacf 100644
--- a/fs/fat/misc.c
+++ b/fs/fat/misc.c
@@ -55,9 +55,8 @@ void fat_clusters_flush(struct super_block *sb)
fsinfo = (struct fat_boot_fsinfo *)bh->b_data;
/* Sanity check */
if (!IS_FSINFO(fsinfo)) {
- printk(KERN_ERR "FAT: Did not find valid FSINFO signature.\n"
- " Found signature1 0x%08x signature2 0x%08x"
- " (sector = %lu)\n",
+ printk(KERN_ERR "FAT: Invalid FSINFO signature: "
+ "0x%08x, 0x%08x (sector = %lu)\n",
le32_to_cpu(fsinfo->signature1),
le32_to_cpu(fsinfo->signature2),
sbi->fsinfo_sector);