Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/freebsd-src.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2022-11-10 08:58:17 +0300
committerKirk McKusick <mckusick@FreeBSD.org>2022-11-10 08:59:20 +0300
commit5f7acd18583116c3036e0f6e35a6f385e7e85741 (patch)
tree58b3b4253a6b5f6e7f0d657e1da6db678ddafe36
parent8b8babf044ca8e8f0d49894c3a41d429146ffc5a (diff)
Fix printfs for fsck_ffs(8) i386 build.
Reported by: jenkins Sponsored by: The FreeBSD Foundation
-rw-r--r--sbin/fsck_ffs/inode.c6
1 files 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);