git: a6916c2bd084 - stable/13 - Yet another try to fix printf format conflict.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 19 May 2023 23:54:22 UTC
The branch stable/13 has been updated by mckusick:
URL: https://cgit.FreeBSD.org/src/commit/?id=a6916c2bd084ebfd13f41eadd7946ab34549f1c0
commit a6916c2bd084ebfd13f41eadd7946ab34549f1c0
Author: Kirk McKusick <mckusick@FreeBSD.org>
AuthorDate: 2023-04-30 06:59:45 +0000
Commit: Kirk McKusick <mckusick@FreeBSD.org>
CommitDate: 2023-05-19 22:42:12 +0000
Yet another try to fix printf format conflict.
(cherry picked from commit 2e7797cd9bba4fa82391b53a7dd7aac074baf716)
---
sbin/dumpfs/dumpfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbin/dumpfs/dumpfs.c b/sbin/dumpfs/dumpfs.c
index d521b806af40..f93047b8803f 100644
--- a/sbin/dumpfs/dumpfs.c
+++ b/sbin/dumpfs/dumpfs.c
@@ -244,7 +244,7 @@ dumpfs(const char *name, int dosb)
default:
goto err;
}
- printf("old_cpg\t%d\tsize_cg\t%d\tCGSIZE\t%d\n",
+ printf("old_cpg\t%d\tsize_cg\t%zu\tCGSIZE\t%zu\n",
afs.fs_old_cpg, sizeof(struct cg), CGSIZE(&afs));
printf("sblkno\t%d\tcblkno\t%d\tiblkno\t%d\tdblkno\t%d\n",
afs.fs_sblkno, afs.fs_cblkno, afs.fs_iblkno, afs.fs_dblkno);