git: 2aa6ed881d22 - main - Fix printf formating.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Sep 2022 22:41:09 UTC
The branch main has been updated by mckusick: URL: https://cgit.FreeBSD.org/src/commit/?id=2aa6ed881d22e4ed095d04ecb8a11f178274a644 commit 2aa6ed881d22e4ed095d04ecb8a11f178274a644 Author: Kirk McKusick <mckusick@FreeBSD.org> AuthorDate: 2022-09-03 22:39:45 +0000 Commit: Kirk McKusick <mckusick@FreeBSD.org> CommitDate: 2022-09-03 22:39:45 +0000 Fix printf formating. Fix for f4fc389. Reported by: Jenkins Sponsored by: The FreeBSD Foundation --- sbin/fsck_ffs/inode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sbin/fsck_ffs/inode.c b/sbin/fsck_ffs/inode.c index cbdd756e5d17..c261b254ace9 100644 --- a/sbin/fsck_ffs/inode.c +++ b/sbin/fsck_ffs/inode.c @@ -705,7 +705,8 @@ cacheino(union dinode *dp, ino_t inumber) int i, blks; if (getinoinfo(inumber) != NULL) - pfatal("cacheino: duplicate entry for ino %ld\n", inumber); + pfatal("cacheino: duplicate entry for ino %jd\n", + (intmax_t)inumber); if (howmany(DIP(dp, di_size), sblock.fs_bsize) > UFS_NDADDR) blks = UFS_NDADDR + UFS_NIADDR; else if (DIP(dp, di_size) > 0)