From: Zach Brown Date: Tue, 3 Oct 2006 08:16:05 +0000 (-0700) Subject: [PATCH] pr_debug: configfs: use size_t length modifier in pr_debug format argument X-Git-Tag: v2.6.19-rc1~231 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4779efca147475a708e84d902e096bbd20e613b7;p=linux-2.6-omap-h63xx.git [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 Acked-by: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/configfs/file.c b/fs/configfs/file.c index 85105e50f7d..e6d5754a715 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);