svn commit: r202825 - stable/7/sbin/dumpfs

Gavin Atkinson gavin at FreeBSD.org
Fri Jan 22 20:06:58 UTC 2010


Author: gavin
Date: Fri Jan 22 20:06:57 2010
New Revision: 202825
URL: http://svn.freebsd.org/changeset/base/202825

Log:
  Merge r201647 from head:
    Print leading zeros in the UFS2 FSID.
  
  PR:		bin/142155
  Submitted by:	Efstratios Karatzas  gpf.kira gmail.com
  Approved by:	ed (mentor, implicit)

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

Modified: stable/7/sbin/dumpfs/dumpfs.c
==============================================================================
--- stable/7/sbin/dumpfs/dumpfs.c	Fri Jan 22 20:02:22 2010	(r202824)
+++ stable/7/sbin/dumpfs/dumpfs.c	Fri Jan 22 20:06:57 2010	(r202825)
@@ -160,7 +160,7 @@ dumpfs(const char *name)
 		fstime = afs.fs_old_time;
 		printf("magic\t%x (UFS1)\ttime\t%s",
 		    afs.fs_magic, ctime(&fstime));
-		printf("id\t[ %x %x ]\n", afs.fs_id[0], afs.fs_id[1]);
+		printf("id\t[ %08x %08x ]\n", 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);
 		break;


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