ubifs: Fixed print foramt mismatch in ubifs
authorFangping Liang <liangfangping@huawei.com>
Tue, 8 Dec 2020 13:58:11 +0000 (21:58 +0800)
committerRichard Weinberger <richard@nod.at>
Sun, 13 Dec 2020 20:57:21 +0000 (21:57 +0100)
fs/ubifs/super.c: function mount_ubifs:
the format specifier "lld" need arg type "long long",
but the according arg "old_idx_sz" has type
"unsigned long long"

Signed-off-by: Fangping Liang <liangfangping@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/super.c

index b238f0c..77dea67 100644 (file)
@@ -1572,7 +1572,7 @@ static int mount_ubifs(struct ubifs_info *c)
        dbg_gen("main area LEBs:      %d (%d - %d)",
                c->main_lebs, c->main_first, c->leb_cnt - 1);
        dbg_gen("index LEBs:          %d", c->lst.idx_lebs);
-       dbg_gen("total index bytes:   %lld (%lld KiB, %lld MiB)",
+       dbg_gen("total index bytes:   %llu (%llu KiB, %llu MiB)",
                c->bi.old_idx_sz, c->bi.old_idx_sz >> 10,
                c->bi.old_idx_sz >> 20);
        dbg_gen("key hash type:       %d", c->key_hash_type);