Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2023 08:08:34 +0100
From:      Jessica Clarke <jrtc27@freebsd.org>
To:        Kirk McKusick <mckusick@FreeBSD.org>
Cc:        "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@FreeBSD.org>
Subject:   Re: git: 2e7797cd9bba - main - Yet another try to fix printf format conflict.
Message-ID:  <3ECD7073-5F45-4C62-BE47-D1C8CEC61883@freebsd.org>
In-Reply-To: <202304300700.33U70cF9082164@gitrepo.freebsd.org>
References:  <202304300700.33U70cF9082164@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30 Apr 2023, at 08:00, Kirk McKusick <mckusick@FreeBSD.org> wrote:
>=20
> The branch main has been updated by mckusick:
>=20
> URL: =
https://cgit.FreeBSD.org/src/commit/?id=3D2e7797cd9bba4fa82391b53a7dd7aac0=
74baf716
>=20
> commit 2e7797cd9bba4fa82391b53a7dd7aac074baf716
> Author:     Kirk McKusick <mckusick@FreeBSD.org>
> AuthorDate: 2023-04-30 06:59:45 +0000
> Commit:     Kirk McKusick <mckusick@FreeBSD.org>
> CommitDate: 2023-04-30 07:00:23 +0000
>=20
>    Yet another try to fix printf format conflict.
>=20
>    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.

That=E2=80=99s what make universe/tinderbox/worlds/kernels are for? (See =
build(7))

Jess

>    Suggested by: Jessica Clarke
>    MFC after:    1 week
> ---
> sbin/dumpfs/dumpfs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>=20
> diff --git a/sbin/dumpfs/dumpfs.c b/sbin/dumpfs/dumpfs.c
> index 743734660e57..a0767c39e6bf 100644
> --- a/sbin/dumpfs/dumpfs.c
> +++ b/sbin/dumpfs/dumpfs.c
> @@ -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);




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ECD7073-5F45-4C62-BE47-D1C8CEC61883>