From: Eric Biggers <ebiggers@xxxxxxxxxx> This really should just use PRIi64, but e2fsprogs doesn't use the inttypes.h format specifiers elsewhere, so just be consistent for now. Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx> --- debugfs/logdump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debugfs/logdump.c b/debugfs/logdump.c index 036b50baf..938b48907 100644 --- a/debugfs/logdump.c +++ b/debugfs/logdump.c @@ -479,7 +479,8 @@ static void dump_journal(char *cmdname, FILE *out_file, if ((blocknr == first_transaction_blocknr) && (cur_counts != 0) && dump_old && (dump_counts != -1)) { - fprintf(out_file, "Dump all %lld journal records.\n", cur_counts); + fprintf(out_file, "Dump all %lld journal records.\n", + (long long)cur_counts); break; } -- 2.39.1