1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00

newfs: fix up 32-bit compile

Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Mateusz Guzik 2023-04-30 18:00:20 +00:00
parent 1f0e13449b
commit a50ef47c0a

View File

@ -674,7 +674,7 @@ mkfs(struct partition *pp, char *fsys)
if ((int32_t)CGSIZE(&sblock) > sblock.fs_bsize) { if ((int32_t)CGSIZE(&sblock) > sblock.fs_bsize) {
printf("INTERNAL ERROR: ipg %d, fpg %d, contigsumsize %d, ", printf("INTERNAL ERROR: ipg %d, fpg %d, contigsumsize %d, ",
sblock.fs_ipg, sblock.fs_fpg, sblock.fs_contigsumsize); sblock.fs_ipg, sblock.fs_fpg, sblock.fs_contigsumsize);
printf("old_cpg %d, size_cg %jd, CGSIZE %jd\n", printf("old_cpg %d, size_cg %zu, CGSIZE %zu\n",
sblock.fs_old_cpg, sizeof(struct cg), CGSIZE(&sblock)); sblock.fs_old_cpg, sizeof(struct cg), CGSIZE(&sblock));
printf("Please file a FreeBSD bug report and include this " printf("Please file a FreeBSD bug report and include this "
"output\n"); "output\n");