]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
9p: fix format warning
authorEric Van Hensbergen <ericvh@gmail.com>
Wed, 22 Oct 2008 23:48:45 +0000 (18:48 -0500)
committerEric Van Hensbergen <ericvh@opteron.(none)>
Wed, 22 Oct 2008 23:48:45 +0000 (18:48 -0500)
This patch fixes a format warning which appears on 64-bit builds.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/vfs_file.c

index 041c526922845433c5a871f3afed75be7f35b0bd..68bf2af6c389568fcbbca52ed3c17a68934cc057 100644 (file)
@@ -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))