summaryrefslogtreecommitdiffstats
path: root/sbin/dumpfs
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2009-10-19 14:04:19 +0000
committerru <ru@FreeBSD.org>2009-10-19 14:04:19 +0000
commitff417f4e2b5bd26abcd4435a7921b39ac77fa0f1 (patch)
treee23365a0a71c5687bdc79699af6c004106d9e538 /sbin/dumpfs
parentb6d3027cdb237316deca6f7e43db079428a2905b (diff)
downloadFreeBSD-src-ff417f4e2b5bd26abcd4435a7921b39ac77fa0f1.zip
FreeBSD-src-ff417f4e2b5bd26abcd4435a7921b39ac77fa0f1.tar.gz
Properly re-create "-s size" argument to newfs(8).
Diffstat (limited to 'sbin/dumpfs')
-rw-r--r--sbin/dumpfs/dumpfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dumpfs/dumpfs.c b/sbin/dumpfs/dumpfs.c
index 2f577d9..4bcbe5f 100644
--- a/sbin/dumpfs/dumpfs.c
+++ b/sbin/dumpfs/dumpfs.c
@@ -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");
OpenPOWER on IntegriCloud