diff options
author | Fangping Liang <liangfangping@huawei.com> | 2020-12-08 16:58:11 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2020-12-13 23:57:21 +0300 |
commit | 89f40d0a9656aa73bf4a6d905d28952381b6cb53 (patch) | |
tree | 6bc235c73a0ec7bd62de266005e161efb04d6646 /fs | |
parent | f669e74be820386244290d5824938969d397b8fb (diff) | |
download | linux-89f40d0a9656aa73bf4a6d905d28952381b6cb53.tar.xz |
ubifs: Fixed print foramt mismatch in ubifs
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ubifs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index b238f0ca1608..77dea673851b 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c @@ -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); |