aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/dumpfs
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2015-05-26 18:27:38 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2015-05-26 18:27:38 +0000
commit24211a0afcc9b3bbeb7adbdd105626875216fd10 (patch)
tree01b027480bb98a9fad66adbc01abca49a1c69b07 /sbin/dumpfs
parent42da72761e4aa68be30180be2fc40744119cecc1 (diff)
downloadsrc-24211a0afcc9b3bbeb7adbdd105626875216fd10.tar.gz
src-24211a0afcc9b3bbeb7adbdd105626875216fd10.zip
Print leading zeroes of UFS2 fs_id like we do for UFS1.
PR: 156908 MFC after: 1 week
Notes
Notes: svn path=/head/; revision=283577
Diffstat (limited to 'sbin/dumpfs')
-rw-r--r--sbin/dumpfs/dumpfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dumpfs/dumpfs.c b/sbin/dumpfs/dumpfs.c
index baf3d999f5ee..ce69ba184fe5 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);