git: 5f7acd185831 - main - Fix printfs for fsck_ffs(8) i386 build.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 10 Nov 2022 05:59:39 UTC
The branch main has been updated by mckusick: URL: https://cgit.FreeBSD.org/src/commit/?id=5f7acd18583116c3036e0f6e35a6f385e7e85741 commit 5f7acd18583116c3036e0f6e35a6f385e7e85741 Author: Kirk McKusick <mckusick@FreeBSD.org> AuthorDate: 2022-11-10 05:58:17 +0000 Commit: Kirk McKusick <mckusick@FreeBSD.org> CommitDate: 2022-11-10 05:59:20 +0000 Fix printfs for fsck_ffs(8) i386 build. Reported by: jenkins Sponsored by: The FreeBSD Foundation --- sbin/fsck_ffs/inode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/fsck_ffs/inode.c b/sbin/fsck_ffs/inode.c index 85fa6ae8ec1d..82338f4f8c08 100644 --- a/sbin/fsck_ffs/inode.c +++ b/sbin/fsck_ffs/inode.c @@ -817,8 +817,8 @@ snapblkfree(fs, bno, size, inum, checkblkavail) if (snapcnt == 0) return (0); if (debug) - printf("snapblkfree: in ino %ld free blkno %ld, size %ld\n", - inum, bno, size); + printf("snapblkfree: in ino %jd free blkno %jd, size %jd\n", + (intmax_t)inum, (intmax_t)bno, (intmax_t)size); relblkno = blknum(fs, bno); lbn = fragstoblks(fs, relblkno); /* Direct blocks are always pre-copied */ @@ -945,7 +945,7 @@ copyonwrite(fs, bp, checkblkavail) numblks = blkroundup(fs, bp->b_size) / fs->fs_bsize; if (debug) prtbuf(bp, "copyonwrite: checking %jd block%s in buffer", - numblks, numblks > 1 ? "s" : ""); + (intmax_t)numblks, numblks > 1 ? "s" : ""); copyblkno = blknum(fs, dbtofsb(fs, bp->b_bno)); for (i = 0; i < numblks; i++) { chkcopyonwrite(fs, copyblkno, checkblkavail);