diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2023-04-30 18:00:20 +0000 |
---|---|---|
committer | Kirk McKusick <mckusick@FreeBSD.org> | 2023-05-19 22:44:49 +0000 |
commit | 5188186cd4ddcdb1c15da31b12c6b26eeb683c1d (patch) | |
tree | 7d4f90fbe2ff5431d82940b717c3346196163a89 | |
parent | 0fc13be8473505e98e9103467fe363db627051e1 (diff) | |
download | src-5188186cd4ddcdb1c15da31b12c6b26eeb683c1d.tar.gz src-5188186cd4ddcdb1c15da31b12c6b26eeb683c1d.zip |
newfs: fix up 32-bit compile
(cherry picked from commit a50ef47c0a22ca87cdbe669acbcbf999c72b8439)
-rw-r--r-- | sbin/newfs/mkfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/newfs/mkfs.c b/sbin/newfs/mkfs.c index fa00445baea8..1efada0dad17 100644 --- a/sbin/newfs/mkfs.c +++ b/sbin/newfs/mkfs.c @@ -671,7 +671,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"); |