diff options
author | ae <ae@FreeBSD.org> | 2015-06-02 01:55:54 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2015-06-02 01:55:54 +0000 |
commit | 8fe024e5634e0645ac51248988d75b87772f36ab (patch) | |
tree | 3158ff1d08f51e4e3edc4d570a73574508f6e408 | |
parent | 045ad2b6bb72117e61dea0f407ced7d7dc2221e8 (diff) | |
download | FreeBSD-src-8fe024e5634e0645ac51248988d75b87772f36ab.zip FreeBSD-src-8fe024e5634e0645ac51248988d75b87772f36ab.tar.gz |
MFC r283577:
Print leading zeroes of UFS2 fs_id like we do for UFS1.
PR: 156908
-rw-r--r-- | sbin/dumpfs/dumpfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dumpfs/dumpfs.c b/sbin/dumpfs/dumpfs.c index baf3d99..ce69ba1 100644 --- a/sbin/dumpfs/dumpfs.c +++ b/sbin/dumpfs/dumpfs.c @@ -165,7 +165,7 @@ dumpfs(const char *name) fstime = afs.fs_time; printf("magic\t%x (UFS2)\ttime\t%s", afs.fs_magic, ctime(&fstime)); - printf("superblock location\t%jd\tid\t[ %x %x ]\n", + printf("superblock location\t%jd\tid\t[ %08x %08x ]\n", (intmax_t)afs.fs_sblockloc, afs.fs_id[0], afs.fs_id[1]); printf("ncg\t%d\tsize\t%jd\tblocks\t%jd\n", afs.fs_ncg, (intmax_t)fssize, (intmax_t)afs.fs_dsize); |