Skip to content

Commit

Permalink
9p: fix format warning
Browse files Browse the repository at this point in the history
This patch fixes a format warning which appears on 64-bit builds.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
  • Loading branch information
Eric Van Hensbergen authored and Eric Van Hensbergen committed Oct 22, 2008
1 parent 0b15a3a commit ea2e799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/9p/vfs_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit ea2e799

Please sign in to comment.