svn commit: r242097 - head/sys/fs/smbfs

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Oct 27 19:25:30 UTC 2012


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
> 
> Log:
>   Fix build in case we have SMBVDEBUG turned on.
[...]
> -	SMBVDEBUG("ofs=%d,resid=%d\n",(int)uiop->uio_offset, uiop->uio_resid);
> +	SMBVDEBUG("ofs=%d,resid=%zd\n",(int)uiop->uio_offset, uiop->uio_resid);

While you are here, you may want to change the code to use %jd for
uio_offset and cast it to (intmax_t).

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://tupytaj.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20121027/12f2094d/attachment.sig>


More information about the svn-src-all mailing list