Date: Mon, 25 Jul 2022 01:12:55 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: 1297a704d991 - main - Output fs_csaddr rather than fs_old_csaddr for UFS1 filesystems. Message-ID: <202207250112.26P1CtSa093580@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=1297a704d99110644af1ae32840cee1b9523cb56 commit 1297a704d99110644af1ae32840cee1b9523cb56 Author: Kirk McKusick <mckusick@FreeBSD.org> AuthorDate: 2022-07-25 00:33:19 +0000 Commit: Kirk McKusick <mckusick@FreeBSD.org> CommitDate: 2022-07-25 01:12:24 +0000 Output fs_csaddr rather than fs_old_csaddr for UFS1 filesystems. Since fs_csaddr is what will actually be used, show that value rather than the historic and possibly incorrect value for UFS1 filesystems. --- sbin/dumpfs/dumpfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/dumpfs/dumpfs.c b/sbin/dumpfs/dumpfs.c index 7c43cf4489a8..99b4ad0b9274 100644 --- a/sbin/dumpfs/dumpfs.c +++ b/sbin/dumpfs/dumpfs.c @@ -233,8 +233,8 @@ dumpfs(const char *name, int dosb) printf("sbsize\t%d\tcgsize\t%d\tcgoffset %d\tcgmask\t0x%08x\n", afs.fs_sbsize, afs.fs_cgsize, afs.fs_old_cgoffset, afs.fs_old_cgmask); - printf("csaddr\t%d\tcssize\t%d\n", - afs.fs_old_csaddr, afs.fs_cssize); + printf("csaddr\t%jd\tcssize\t%d\n", + (intmax_t)afs.fs_csaddr, afs.fs_cssize); printf("rotdelay %dms\trps\t%d\ttrackskew %d\tinterleave %d\n", afs.fs_old_rotdelay, afs.fs_old_rps, afs.fs_old_trackskew, afs.fs_old_interleave);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207250112.26P1CtSa093580>