Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 2010 12:20:48 +0000 (UTC)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r203700 - stable/8/sbin/dumpfs
Message-ID:  <201002091220.o19CKmbr062298@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ru
Date: Tue Feb  9 12:20:48 2010
New Revision: 203700
URL: http://svn.freebsd.org/changeset/base/203700

Log:
  MFC: r198231: Properly re-create "-s size" argument to newfs(8).

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	Tue Feb  9 10:47:44 2010	(r203699)
+++ stable/8/sbin/dumpfs/dumpfs.c	Tue Feb  9 12:20:48 2010	(r203700)
@@ -413,7 +413,7 @@ marshal(const char *name)
 		break;
 	}
 	/* -p..r unimplemented */
-	printf("-s %jd ", (intmax_t)fs->fs_size);
+	printf("-s %jd ", (intmax_t)fsbtodb(fs, fs->fs_size));
 	printf("%s ", disk.d_name);
 	printf("\n");
 



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