git: c6951fac7846 - main - Fix 32-bit build post 5cc52631b3b88dfc36d8049dc8bece8573c5f9af.

Cy Schubert cy at FreeBSD.org
Fri Jan 8 19:33:41 UTC 2021


The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=c6951fac78467daf81df5e711ffca820f7608036

commit c6951fac78467daf81df5e711ffca820f7608036
Author:     Cy Schubert <cy at FreeBSD.org>
AuthorDate: 2021-01-08 19:28:30 +0000
Commit:     Cy Schubert <cy at FreeBSD.org>
CommitDate: 2021-01-08 19:28:30 +0000

    Fix 32-bit build post 5cc52631b3b88dfc36d8049dc8bece8573c5f9af.
---
 sbin/fsck_ffs/fsutil.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sbin/fsck_ffs/fsutil.c b/sbin/fsck_ffs/fsutil.c
index 64c4701d9b7f..77571deb38f4 100644
--- a/sbin/fsck_ffs/fsutil.c
+++ b/sbin/fsck_ffs/fsutil.c
@@ -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);
 }
 
 /*


More information about the dev-commits-src-all mailing list