From randy.dunlap@oracle.com Wed May 2 16:40:23 2007 From: Randy Dunlap Date: Mon, 30 Apr 2007 17:55:03 -0700 Subject: sysfs: printk format warning Cc: akpm , gregkh Message-ID: <20070430175503.51251d45.randy.dunlap@oracle.com> From: Randy Dunlap Fix sysfs printk format warning: fs/sysfs/bin.c:62: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman --- fs/sysfs/bin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/sysfs/bin.c +++ b/fs/sysfs/bin.c @@ -59,7 +59,7 @@ read(struct file * file, char __user * u if (copy_to_user(userbuf, buffer, count)) return -EFAULT; - pr_debug("offs = %lld, *off = %lld, count = %d\n", offs, *off, count); + pr_debug("offs = %lld, *off = %lld, count = %zd\n", offs, *off, count); *off = offs + count;