diff options
author | Zach Brown <zach.brown@oracle.com> | 2006-10-03 01:16:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-03 08:04:19 -0700 |
commit | 4779efca147475a708e84d902e096bbd20e613b7 (patch) | |
tree | 95d0b4950b652120c5e07fc1adea30fcf18504d8 /fs/configfs | |
parent | 691578cd558e647dd89ae5bc74a2307bce821186 (diff) | |
download | linux-4779efca147475a708e84d902e096bbd20e613b7.tar.gz linux-4779efca147475a708e84d902e096bbd20e613b7.tar.bz2 linux-4779efca147475a708e84d902e096bbd20e613b7.zip |
[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')
-rw-r--r-- | fs/configfs/file.c | 4 |
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 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); |