9p: fix format warning

This patch fixes a format warning which appears on 64-bit builds.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
This commit is contained in:
Eric Van Hensbergen 2008-10-22 18:48:45 -05:00 committed by Eric Van Hensbergen
parent 0b15a3a528
commit ea2e7996fc

View File

@ -178,7 +178,7 @@ v9fs_file_read(struct file *filp, char __user *udata, size_t count,
int ret;
struct p9_fid *fid;
P9_DPRINTK(P9_DEBUG_VFS, "count %d offset %lld\n", count, *offset);
P9_DPRINTK(P9_DEBUG_VFS, "count %zu offset %lld\n", count, *offset);
fid = filp->private_data;
if (count > (fid->clnt->msize - P9_IOHDRSZ))