summaryrefslogtreecommitdiffstats
path: root/fs/9p
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@gmail.com>2008-10-22 18:48:45 -0500
committerEric Van Hensbergen <ericvh@opteron.(none)>2008-10-22 18:48:45 -0500
commitea2e7996fc892e9becfed9145fdcefd59f697718 (patch)
tree2d9d8cfdf663cf367acaf63e6a8151bd6f0de0cc /fs/9p
parent0b15a3a5285bac2a2caa4ef970410674b6dd2de5 (diff)
downloadop-kernel-dev-ea2e7996fc892e9becfed9145fdcefd59f697718.zip
op-kernel-dev-ea2e7996fc892e9becfed9145fdcefd59f697718.tar.gz
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')
-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 041c526..68bf2af 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,
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))
OpenPOWER on IntegriCloud