aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/debug.c
diff options
context:
space:
mode:
authorChengsong Ke <kechengsong@huawei.com>2020-10-31 16:54:20 +0800
committerRichard Weinberger <richard@nod.at>2020-12-13 21:57:10 +0100
commitf212400783911a2732eaa5022c9157659c85ccc6 (patch)
tree9b1c50150b0b8d55283e1dd5bf803421d479dbd2 /fs/ubifs/debug.c
parentjffs2: Allow setting rp_size to zero during remounting (diff)
downloadlinux-dev-f212400783911a2732eaa5022c9157659c85ccc6.tar.xz
linux-dev-f212400783911a2732eaa5022c9157659c85ccc6.zip
ubifs: Fix the printing type of c->big_lpt
Ubifs uses %d to print c->big_lpt, but c->big_lpt is a variable of type unsigned int and should be printed with %u. Signed-off-by: Chengsong Ke <kechengsong@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/debug.c')
-rw-r--r--fs/ubifs/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c
index a041ddd9b22a..e69c999d28ca 100644
--- a/fs/ubifs/debug.c
+++ b/fs/ubifs/debug.c
@@ -764,7 +764,7 @@ void ubifs_dump_lpt_info(struct ubifs_info *c)
pr_err("\tnnode_sz: %d\n", c->nnode_sz);
pr_err("\tltab_sz: %d\n", c->ltab_sz);
pr_err("\tlsave_sz: %d\n", c->lsave_sz);
- pr_err("\tbig_lpt: %d\n", c->big_lpt);
+ pr_err("\tbig_lpt: %u\n", c->big_lpt);
pr_err("\tlpt_hght: %d\n", c->lpt_hght);
pr_err("\tpnode_cnt: %d\n", c->pnode_cnt);
pr_err("\tnnode_cnt: %d\n", c->nnode_cnt);