Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jun 2015 01:55:55 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r283899 - stable/10/sbin/dumpfs
Message-ID:  <201506020155.t521ttKd065879@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506020155.t521ttKd065879>