svn commit: r198231 - head/sbin/dumpfs
Ruslan Ermilov
ru at FreeBSD.org
Mon Oct 19 14:04:20 UTC 2009
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");
More information about the svn-src-all
mailing list