svn commit: r283899 - stable/10/sbin/dumpfs

Andrey V. Elsukov ae at FreeBSD.org
Tue Jun 2 01:55:55 UTC 2015


Author: ae
Date: Tue Jun  2 01:55:54 2015
New Revision: 283899
URL: https://svnweb.freebsd.org/changeset/base/283899

Log:
  MFC r283577:
    Print leading zeroes of UFS2 fs_id like we do for UFS1.
  
  PR:		156908

Modified:
  stable/10/sbin/dumpfs/dumpfs.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sbin/dumpfs/dumpfs.c
==============================================================================
--- stable/10/sbin/dumpfs/dumpfs.c	Tue Jun  2 01:47:12 2015	(r283898)
+++ stable/10/sbin/dumpfs/dumpfs.c	Tue Jun  2 01:55:54 2015	(r283899)
@@ -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);


More information about the svn-src-stable-10 mailing list