Christoph Hellwig
2004-Jun-18 05:06 UTC
[Ocfs2-devel] [PATCH] another blocknumber printk messup
Index: src/super.c ==================================================================--- src/super.c (revision 1146) +++ src/super.c (working copy) @@ -1790,8 +1790,9 @@ OCFS2_MINOR_REV_LEVEL); } else if (bh->b_blocknr != le64_to_cpu(di->i_blkno)) { LOG_ERROR_ARGS("bad block number on superblock: " - "found %llu, should be %lu\n", - le64_to_cpu(di->i_blkno), bh->b_blocknr); + "found %llu, should be %llu\n", + le64_to_cpu(di->i_blkno), + (unsigned long long)bh->b_blocknr); } else if (le32_to_cpu(di->id2.i_super.s_clustersize_bits) < 12 || le32_to_cpu(di->id2.i_super.s_clustersize_bits) > 20) { LOG_ERROR_ARGS("bad cluster size found: %u\n",