From owner-svn-src-all@FreeBSD.ORG Thu Sep 24 07:40:25 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 703D0106566C; Thu, 24 Sep 2009 07:40:25 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206049004.chello.pl [87.206.49.4]) by mx1.freebsd.org (Postfix) with ESMTP id E76878FC16; Thu, 24 Sep 2009 07:40:24 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 411EE45CA6; Thu, 24 Sep 2009 09:40:23 +0200 (CEST) Received: from localhost (pdawidek.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id E6D2F45C9F; Thu, 24 Sep 2009 09:40:16 +0200 (CEST) Date: Thu, 24 Sep 2009 09:40:20 +0200 From: Pawel Jakub Dawidek To: John Baldwin Message-ID: <20090924074020.GC1604@garage.freebsd.pl> References: <200909231423.n8NEN9cE066046@svn.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3siQDZowHQqNOShm" Content-Disposition: inline In-Reply-To: <200909231423.n8NEN9cE066046@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 8.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 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 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2009 07:40:25 -0000 --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--