Date: Thu, 24 Sep 2009 09:40:20 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: John Baldwin <jhb@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r197432 - head/tools/regression/sockets/accf_data_attach Message-ID: <20090924074020.GC1604@garage.freebsd.pl> In-Reply-To: <200909231423.n8NEN9cE066046@svn.freebsd.org> References: <200909231423.n8NEN9cE066046@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--3siQDZowHQqNOShm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 23, 2009 at 02:23:09PM +0000, John Baldwin wrote: > Author: jhb > Date: Wed Sep 23 14:23:09 2009 > New Revision: 197432 > URL: http://svn.freebsd.org/changeset/base/197432 >=20 > Log: > - Remove a bogus test: setsockopt() doesn't return a length, getsockopt= () > does. > - Use %z to printf a size_t to fix compile on 64-bit platforms. [...] > - "listen() returned wrong size (got %d expected %d)", len, > + "listen() returned wrong size (got %d expected %zd)", len, > sizeof(afa)); Actually, you want %zu for size_t. %zd is for ssize_t (which is signed). --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --3siQDZowHQqNOShm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFKuyJkForvXbEpPzQRAp/TAKDowyxgqT+6NwYnG5u9gYYuIPRrOQCgxDoa fVX8WMAw9g/aU9RHyMhK4b0= =lA2p -----END PGP SIGNATURE----- --3siQDZowHQqNOShm--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090924074020.GC1604>