summaryrefslogtreecommitdiffstats
path: root/fs/configfs/file.c
diff options
context:
space:
mode:
authorZach Brown <zach.brown@oracle.com>2006-10-03 01:16:05 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-03 08:04:19 -0700
commit4779efca147475a708e84d902e096bbd20e613b7 (patch)
tree95d0b4950b652120c5e07fc1adea30fcf18504d8 /fs/configfs/file.c
parent691578cd558e647dd89ae5bc74a2307bce821186 (diff)
downloadop-kernel-dev-4779efca147475a708e84d902e096bbd20e613b7.zip
op-kernel-dev-4779efca147475a708e84d902e096bbd20e613b7.tar.gz
[PATCH] pr_debug: configfs: use size_t length modifier in pr_debug format argument
configfs: use size_t length modifier in pr_debug format argument Signed-off-by: Zach Brown <zach.brown@oracle.com> Acked-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/configfs/file.c')
-rw-r--r--fs/configfs/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/configfs/file.c b/fs/configfs/file.c
index 85105e5..e6d5754 100644
--- a/fs/configfs/file.c
+++ b/fs/configfs/file.c
@@ -137,8 +137,8 @@ configfs_read_file(struct file *file, char __user *buf, size_t count, loff_t *pp
if ((retval = fill_read_buffer(file->f_dentry,buffer)))
goto out;
}
- pr_debug("%s: count = %d, ppos = %lld, buf = %s\n",
- __FUNCTION__,count,*ppos,buffer->page);
+ pr_debug("%s: count = %zd, ppos = %lld, buf = %s\n",
+ __FUNCTION__, count, *ppos, buffer->page);
retval = flush_read_buffer(buffer,buf,count,ppos);
out:
up(&buffer->sem);
OpenPOWER on IntegriCloud