X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Fsysfs%2Fbin.c;h=d3b9f5f07db149a38ecb03d0a44370d365ffb5d5;hb=31f6e1bd3b58c9a67e5ea0c2d372fbf5fc9e326d;hp=8ea2a51ce883aa8ed73cf6bb8df7d7ed36cc9232;hpb=d6454706c382ab74e2ecad7803c434cc6bd30343;p=powerpc.git diff --git a/fs/sysfs/bin.c b/fs/sysfs/bin.c index 8ea2a51ce8..d3b9f5f07d 100644 --- a/fs/sysfs/bin.c +++ b/fs/sysfs/bin.c @@ -59,7 +59,7 @@ read(struct file * file, char __user * userbuf, size_t count, loff_t * off) 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;