svn commit: r202824 - stable/8/sbin/dumpfs

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


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

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/8/sbin/dumpfs/dumpfs.c
Directory Properties:
  stable/8/sbin/dumpfs/   (props changed)

Modified: stable/8/sbin/dumpfs/dumpfs.c
==============================================================================
--- stable/8/sbin/dumpfs/dumpfs.c	Fri Jan 22 19:51:34 2010	(r202823)
+++ stable/8/sbin/dumpfs/dumpfs.c	Fri Jan 22 20:02:22 2010	(r202824)
@@ -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-8 mailing list