Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2023 00:55:59 GMT
From:      Kirk McKusick <mckusick@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 6995e6b3237e - main - Fix printf format conflict
Message-ID:  <202304300055.33U0txC4076743@gitrepo.freebsd.org>

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

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

commit 6995e6b3237e9be9ae6f68af13edd3db4b668ab8
Author:     Kirk McKusick <mckusick@FreeBSD.org>
AuthorDate: 2023-04-30 00:55:15 +0000
Commit:     Kirk McKusick <mckusick@FreeBSD.org>
CommitDate: 2023-04-30 00:55:15 +0000

    Fix printf format conflict
    
    MFC after:   1 week
---
 sbin/dumpfs/dumpfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/dumpfs/dumpfs.c b/sbin/dumpfs/dumpfs.c
index 01b475a03fea..743734660e57 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%jd\tCGSIZE\t%jd\n",
+	printf("old_cpg\t%d\tsize_cg\t%d\tCGSIZE\t%d\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?202304300055.33U0txC4076743>