[PATCH] ext2fs warning

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Mon Jun 09 2003 - 05:37:50 EST


ext2fs: Fix incorrect printf() format (already fixed in 2.5)

--- linux-2.4.x/fs/ext2/balloc.c Tue Apr 22 11:54:53 2003
+++ linux-m68k-2.4.x/fs/ext2/balloc.c Tue Apr 22 15:39:59 2003
@@ -520,7 +520,7 @@
             in_range (tmp, le32_to_cpu(gdp->bg_inode_table),
                       EXT2_SB(sb)->s_itb_per_group)) {
                 ext2_error (sb, "ext2_new_block",
- "Allocating block in system zone - block = %lu",
+ "Allocating block in system zone - block = %u",
                             tmp);
                 ext2_set_bit(j, bh->b_data);
                 DQUOT_FREE_BLOCK(inode, 1);

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds - 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 : Sun Jun 15 2003 - 22:00:20 EST