Browse Source

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>
Eric Van Hensbergen 16 years ago
parent
commit
ea2e7996fc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/9p/vfs_file.c

+ 1 - 1
fs/9p/vfs_file.c

@@ -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))