From owner-svn-src-head@FreeBSD.ORG Mon Oct 19 14:04:19 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C69D1065692; Mon, 19 Oct 2009 14:04:19 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 592DC8FC0A; Mon, 19 Oct 2009 14:04:19 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n9JE4JSG003640; Mon, 19 Oct 2009 14:04:19 GMT (envelope-from ru@svn.freebsd.org) Received: (from ru@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n9JE4JK7003638; Mon, 19 Oct 2009 14:04:19 GMT (envelope-from ru@svn.freebsd.org) Message-Id: <200910191404.n9JE4JK7003638@svn.freebsd.org> From: Ruslan Ermilov Date: Mon, 19 Oct 2009 14:04:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r198231 - head/sbin/dumpfs X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2009 14:04:20 -0000 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");