p9fs: Fix the build for 32-bit kernels

MFC after: 3 months
This commit is contained in:
Doug Rabson 2024-06-19 15:15:34 +01:00
parent e97ad33a89
commit b2ebcd19f4

View file

@ -1762,7 +1762,7 @@ p9fs_readdir(struct vop_readdir_args *ap)
count = 0;
clnt = np->p9fs_ses->clnt;
P9_DEBUG(VOPS, "%s: vp %p, offset %ld, resid %zd\n", __func__, vp, uio->uio_offset, uio->uio_resid);
P9_DEBUG(VOPS, "%s: vp %p, offset %jd, resid %zd\n", __func__, vp, (intmax_t) uio->uio_offset, uio->uio_resid);
if (ap->a_uio->uio_iov->iov_len <= 0)
return (EINVAL);