提交 ea2e7996 编写于 作者: E Eric Van Hensbergen 提交者: Eric Van Hensbergen

9p: fix format warning

This patch fixes a format warning which appears on 64-bit builds.
Signed-off-by: NEric Van Hensbergen <ericvh@gmail.com>
上级 0b15a3a5
......@@ -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))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册