Date: Fri, 28 Jun 2002 10:05:16 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Dan Lukes <dan@obluda.cz> Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/39868: cleaning sbin/dump code from warnings Message-ID: <20020628100516.B26852@Odin.AC.HMC.Edu> In-Reply-To: <200206271050.g5RAo46R097264@freefall.freebsd.org>; from dan@obluda.cz on Thu, Jun 27, 2002 at 03:50:04AM -0700 References: <200206271050.g5RAo46R097264@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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.
>
> But the
> sbin/dump/traverse.c: In function `bread':
> 629: warning: int format, pointer arg (arg 3)
> disk is (char *)
>
> is the only error with real impact as the error message
>
> ----------------
> msg("More than %d block read errors from %d\n",
> BREADEMAX, disk);
> ----------------
>
> 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
--
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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9HJdLXY6L6fI4GtQRApXVAJ0R2eFTGSkFFkANtzPzQ3HiMoKZ0wCg2xbV
BECKlDv8ek7IJezKlRpMgng=
=HSl/
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020628100516.B26852>
