Yet another try to fix printf format conflict.

I find it very annoying that there is no FreeBSD infrastructure to
determine failures across architectures other than to check in
changes and then have Jenkins find them.

Suggested by: Jessica Clarke
MFC after:    1 week
This commit is contained in:
Kirk McKusick 2023-04-29 23:59:45 -07:00
parent e0e5bf4d62
commit 2e7797cd9b

View file

@ -245,7 +245,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);