Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2012 21:26:17 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Davide Italiano <davide@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r242097 - head/sys/fs/smbfs
Message-ID:  <20121027192617.GC1405@garage.freebsd.pl>
In-Reply-To: <201210252108.q9PL83sp046322@svn.freebsd.org>
References:  <201210252108.q9PL83sp046322@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121027192617.GC1405>