From 2af6fe017a5a8edcb3707e6823a04406aa30adf4 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Wed, 22 Apr 2009 15:08:36 -0400 Subject: [PATCH] debugfs: Fix format string warnings in htree_dump_leaf_node() Signed-off-by: "Theodore Ts'o" --- debugfs/htree.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/debugfs/htree.c b/debugfs/htree.c index 62dba4ade..afb7605df 100644 --- a/debugfs/htree.c +++ b/debugfs/htree.c @@ -48,11 +48,13 @@ static void htree_dump_leaf_node(ext2_filsys fs, ext2_ino_t ino, return; } - printf("Reading directory block %lu, phys %lu\n", blk, pblk); + printf("Reading directory block %lu, phys %lu\n", + (unsigned long) blk, (unsigned long) pblk); errcode = ext2fs_read_dir_block2(current_fs, pblk, buf, 0); if (errcode) { com_err("htree_dump_leaf_node", errcode, - "while reading block %lu (%lu)\n", blk, pblk); + "while reading block %lu (%lu)\n", + (unsigned long) blk, (unsigned long) pblk); return; } hash_alg = rootnode->hash_version; -- 2.47.3