From owner-freebsd-bugs Fri Jun 28 10: 5:41 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4715037B400 for ; Fri, 28 Jun 2002 10:05:20 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70A0C43E09 for ; Fri, 28 Jun 2002 10:05:18 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.3/8.12.3) with ESMTP id g5SH5Gri028867; Fri, 28 Jun 2002 10:05:16 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id g5SH5G3d028866; Fri, 28 Jun 2002 10:05:16 -0700 Date: Fri, 28 Jun 2002 10:05:16 -0700 From: Brooks Davis To: Dan Lukes Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/39868: cleaning sbin/dump code from warnings Message-ID: <20020628100516.B26852@Odin.AC.HMC.Edu> References: <200206271050.g5RAo46R097264@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="Pd0ReVV5GZGQvF3a" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200206271050.g5RAo46R097264@freefall.freebsd.org>; from dan@obluda.cz on Thu, Jun 27, 2002 at 03:50:04AM -0700 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --Pd0ReVV5GZGQvF3a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 27, 2002 at 03:50:04AM -0700, Dan Lukes wrote: > The following reply was made to PR bin/39868; it has been noted by GNATS. >=20 > But the > sbin/dump/traverse.c: In function `bread': > 629: warning: int format, pointer arg (arg 3) > disk is (char *) > =20 > is the only error with real impact as the error message > =20 > ---------------- > msg("More than %d block read errors from %d\n", > BREADEMAX, disk); > ---------------- > =20 > may be confusing (because disk is (char *)) for user. I've been meaning to do a warnings sweep through dump anyway so I'll take a look at this one. It's definatly a real bug. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --Pd0ReVV5GZGQvF3a Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9HJdLXY6L6fI4GtQRApXVAJ0R2eFTGSkFFkANtzPzQ3HiMoKZ0wCg2xbV BECKlDv8ek7IJezKlRpMgng= =HSl/ -----END PGP SIGNATURE----- --Pd0ReVV5GZGQvF3a-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message