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:
Родитель
0b15a3a528
Коммит
ea2e7996fc
|
@ -178,7 +178,7 @@ v9fs_file_read(struct file *filp, char __user *udata, size_t count,
|
||||||
int ret;
|
int ret;
|
||||||
struct p9_fid *fid;
|
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;
|
fid = filp->private_data;
|
||||||
|
|
||||||
if (count > (fid->clnt->msize - P9_IOHDRSZ))
|
if (count > (fid->clnt->msize - P9_IOHDRSZ))
|
||||||
|
|
Загрузка…
Ссылка в новой задаче