Fix 32-bit build post 5cc52631b3b88dfc36d8049dc8bece8573c5f9af.

This commit is contained in:
Cy Schubert 2021-01-08 11:28:30 -08:00
parent bbfa199cbc
commit c6951fac78

View File

@ -1211,10 +1211,10 @@ static void
prtbuf(const char *msg, struct bufarea *bp)
{
printf("%s: bp %p, type %s, bno %ld, size %d, refcnt %d, flags %s, "
"index %d\n", msg, bp, BT_BUFTYPE(bp->b_type), bp->b_bno,
printf("%s: bp %p, type %s, bno %jd, size %d, refcnt %d, flags %s, "
"index %jd\n", msg, bp, BT_BUFTYPE(bp->b_type), (intmax_t) bp->b_bno,
bp->b_size, bp->b_refcnt, bp->b_flags & B_DIRTY ? "dirty" : "clean",
bp->b_index);
(intmax_t) bp->b_index);
}
/*