From owner-freebsd-current@FreeBSD.ORG Sun Feb 24 15:05:41 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 50DF59F7; Sun, 24 Feb 2013 15:05:41 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id 11BF1615; Sun, 24 Feb 2013 15:05:40 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.6/8.14.6) with ESMTP id r1OF5YxZ002957; Sun, 24 Feb 2013 07:05:34 -0800 (PST) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.6/8.14.6/Submit) id r1OF5YDF002956; Sun, 24 Feb 2013 07:05:34 -0800 (PST) (envelope-from david) Date: Sun, 24 Feb 2013 07:05:34 -0800 From: David Wolfskill To: current@freebsd.org Subject: [PATCH] Fix sbin/fsdb/fsdbutil.c for r247212 Message-ID: <20130224150534.GA2785@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="U+BazGySraz5kW0T" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Kirk McKusick X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2013 15:05:41 -0000 --U+BazGySraz5kW0T Content-Type: multipart/mixed; boundary="/9DWx/yDrRhgMJTb" Content-Disposition: inline --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Whine was: =2E.. CC=3D'clang' mkdep -f .depend -a -I/usr/src/sbin/fsdb/../fsck_ffs -std= =3Dgnu99 =20 /usr/src/sbin/fsdb/fsdb.c /usr/src/sbin/fsdb/fsdbutil.c /usr/src/sbin/fsdb/= =2E./fs ck_ffs/dir.c /usr/src/sbin/fsdb/../fsck_ffs/ea.c /usr/src/sbin/fsdb/../fsck= _ffs/ fsutil.c /usr/src/sbin/fsdb/../fsck_ffs/inode.c /usr/src/sbin/fsdb/../fsck_= ffs/p ass1.c /usr/src/sbin/fsdb/../fsck_ffs/pass1b.c /usr/src/sbin/fsdb/../fsck_f= fs/pa ss2.c /usr/src/sbin/fsdb/../fsck_ffs/pass3.c /usr/src/sbin/fsdb/../fsck_ffs= /pass 4.c /usr/src/sbin/fsdb/../fsck_ffs/pass5.c /usr/src/sbin/fsdb/../fsck_ffs/s= etup. c /usr/src/sbin/fsdb/../fsck_ffs/utilities.c /usr/src/sbin/fsdb/../../sys/u= fs/ff s/ffs_subr.c /usr/src/sbin/fsdb/../../sys/ufs/ffs/ffs_tables.c /usr/src/sbin/fsdb/fsdbutil.c:242:14: error: too few arguments provided to = funct ion-like macro invocation initbarea(bp); ^ 1 error generated. mkdep: compile failed *** [.depend] Error code 1 1 error *** [depend] Error code 2 1 error *** [sbin.depend__D] Error code 2 Simple patch attached; world is still building, but at least it got through the "make dependencies" phase this time. Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil men with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --/9DWx/yDrRhgMJTb Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="fsdbutil.c.patch" Content-Transfer-Encoding: quoted-printable Index: sbin/fsdb/fsdbutil.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sbin/fsdb/fsdbutil.c (revision 247218) +++ sbin/fsdb/fsdbutil.c (working copy) @@ -239,7 +239,7 @@ /* for the final indirect level, don't use the cache */ bp =3D &buf; bp->b_un.b_buf =3D bufp; - initbarea(bp); + initbarea(bp, BT_UNKNOWN); =20 getblk(bp, blk, sblock.fs_bsize); } else --/9DWx/yDrRhgMJTb-- --U+BazGySraz5kW0T Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlEqLDoACgkQmprOCmdXAD0QigCfXulJyAZL57b0qMbbmmSjoPdK 9YIAn2gTC1iNDUb0nhJMhhY2UnhaC+/c =P0o+ -----END PGP SIGNATURE----- --U+BazGySraz5kW0T--