aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/vfs_file.c
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@gmail.com>2008-10-22 19:48:45 -0400
committerEric Van Hensbergen <ericvh@opteron.(none)>2008-10-22 19:48:45 -0400
commitea2e7996fc892e9becfed9145fdcefd59f697718 (patch)
tree2d9d8cfdf663cf367acaf63e6a8151bd6f0de0cc /fs/9p/vfs_file.c
parent0b15a3a5285bac2a2caa4ef970410674b6dd2de5 (diff)
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>
Diffstat (limited to 'fs/9p/vfs_file.c')
-rw-r--r--fs/9p/vfs_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/vfs_file.c b/fs/9p/vfs_file.c
index 041c52692284..68bf2af6c389 100644
--- a/fs/9p/vfs_file.c
+++ b/fs/9p/vfs_file.c
@@ -178,7 +178,7 @@ v9fs_file_read(struct file *filp, char __user *udata, size_t count,
178 int ret; 178 int ret;
179 struct p9_fid *fid; 179 struct p9_fid *fid;
180 180
181 P9_DPRINTK(P9_DEBUG_VFS, "count %d offset %lld\n", count, *offset); 181 P9_DPRINTK(P9_DEBUG_VFS, "count %zu offset %lld\n", count, *offset);
182 fid = filp->private_data; 182 fid = filp->private_data;
183 183
184 if (count > (fid->clnt->msize - P9_IOHDRSZ)) 184 if (count > (fid->clnt->msize - P9_IOHDRSZ))