From owner-svn-src-all@FreeBSD.ORG Sat Oct 27 19:25:30 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4426D8A4; Sat, 27 Oct 2012 19:25:30 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (garage.dawidek.net [91.121.88.72]) by mx1.freebsd.org (Postfix) with ESMTP id 03B038FC0A; Sat, 27 Oct 2012 19:25:29 +0000 (UTC) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) by mail.dawidek.net (Postfix) with ESMTPSA id 74A6ACD; Sat, 27 Oct 2012 21:24:03 +0200 (CEST) Date: Sat, 27 Oct 2012 21:26:17 +0200 From: Pawel Jakub Dawidek To: Davide Italiano Subject: Re: svn commit: r242097 - head/sys/fs/smbfs Message-ID: <20121027192617.GC1405@garage.freebsd.pl> References: <201210252108.q9PL83sp046322@svn.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gr/z0/N6AeWAPJVB" Content-Disposition: inline In-Reply-To: <201210252108.q9PL83sp046322@svn.freebsd.org> X-OS: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 27 Oct 2012 19:25:30 -0000 --gr/z0/N6AeWAPJVB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 25, 2012 at 09:08:03PM +0000, Davide Italiano wrote: > Author: davide > Date: Thu Oct 25 21:08:02 2012 > New Revision: 242097 > URL: http://svn.freebsd.org/changeset/base/242097 >=20 > Log: > Fix build in case we have SMBVDEBUG turned on. [...] > - SMBVDEBUG("ofs=3D%d,resid=3D%d\n",(int)uiop->uio_offset, uiop->uio_resi= d); > + SMBVDEBUG("ofs=3D%d,resid=3D%zd\n",(int)uiop->uio_offset, uiop->uio_res= id); While you are here, you may want to change the code to use %jd for uio_offset and cast it to (intmax_t). --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl --gr/z0/N6AeWAPJVB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCMNVkACgkQForvXbEpPzT+wwCfXNUu60I8PYKJxCVIR4qxo30A bcMAoPjh6esTNvvVBT/ULEW9urgZ3/Fa =ixwQ -----END PGP SIGNATURE----- --gr/z0/N6AeWAPJVB--