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
[-- Attachment #1 --] 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCMNVkACgkQForvXbEpPzT+wwCfXNUu60I8PYKJxCVIR4qxo30A bcMAoPjh6esTNvvVBT/ULEW9urgZ3/Fa =ixwQ -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121027192617.GC1405>
