aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2023-04-30 18:00:20 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2023-04-30 18:00:20 +0000
commita50ef47c0a22ca87cdbe669acbcbf999c72b8439 (patch)
tree633fd62295fedf3068d3a8ba757046eea6088583
parent1f0e13449beef3a983d9ed2faf4734075e4120d1 (diff)
downloadsrc-a50ef47c0a22ca87cdbe669acbcbf999c72b8439.tar.gz
src-a50ef47c0a22ca87cdbe669acbcbf999c72b8439.zip
newfs: fix up 32-bit compile
Sponsored by: Rubicon Communications, LLC ("Netgate")
-rw-r--r--sbin/newfs/mkfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/newfs/mkfs.c b/sbin/newfs/mkfs.c
index 5af121104821..d8580a789b1d 100644
--- a/sbin/newfs/mkfs.c
+++ b/sbin/newfs/mkfs.c
@@ -674,7 +674,7 @@ retry:
if ((int32_t)CGSIZE(&sblock) > sblock.fs_bsize) {
printf("INTERNAL ERROR: ipg %d, fpg %d, contigsumsize %d, ",
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));
printf("Please file a FreeBSD bug report and include this "
"output\n");