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);
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to