aboutsummaryrefslogtreecommitdiffstats
path: root/fs/configfs/file.c
diff options
context:
space:
mode:
authorZach Brown <zach.brown@oracle.com>2006-10-03 04:16:05 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-03 11:04:19 -0400
commit4779efca147475a708e84d902e096bbd20e613b7 (patch)
tree95d0b4950b652120c5e07fc1adea30fcf18504d8 /fs/configfs/file.c
parent691578cd558e647dd89ae5bc74a2307bce821186 (diff)
[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 85105e50f7db..e6d5754a715e 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
137 if ((retval = fill_read_buffer(file->f_dentry,buffer))) 137 if ((retval = fill_read_buffer(file->f_dentry,buffer)))
138 goto out; 138 goto out;
139 } 139 }
140 pr_debug("%s: count = %d, ppos = %lld, buf = %s\n", 140 pr_debug("%s: count = %zd, ppos = %lld, buf = %s\n",
141 __FUNCTION__,count,*ppos,buffer->page); 141 __FUNCTION__, count, *ppos, buffer->page);
142 retval = flush_read_buffer(buffer,buf,count,ppos); 142 retval = flush_read_buffer(buffer,buf,count,ppos);
143out: 143out:
144 up(&buffer->sem); 144 up(&buffer->sem);