Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 2009 14:04:19 +0000 (UTC)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r198231 - head/sbin/dumpfs
Message-ID:  <200910191404.n9JE4JK7003638@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ru
Date: Mon Oct 19 14:04:19 2009
New Revision: 198231
URL: http://svn.freebsd.org/changeset/base/198231

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

Modified:
  head/sbin/dumpfs/dumpfs.c

Modified: head/sbin/dumpfs/dumpfs.c
==============================================================================
--- head/sbin/dumpfs/dumpfs.c	Mon Oct 19 11:17:46 2009	(r198230)
+++ head/sbin/dumpfs/dumpfs.c	Mon Oct 19 14:04:19 2009	(r198231)
@@ -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?200910191404.n9JE4JK7003638>