Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2023 18:01:16 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: a50ef47c0a22 - main - newfs: fix up 32-bit compile
Message-ID:  <202304301801.33UI1Gk7071906@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=a50ef47c0a22ca87cdbe669acbcbf999c72b8439

commit a50ef47c0a22ca87cdbe669acbcbf999c72b8439
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-04-30 18:00:20 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2023-04-30 18:00:20 +0000

    newfs: fix up 32-bit compile
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sbin/newfs/mkfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304301801.33UI1Gk7071906>