Skip to content

Commit 45cd8d8

Browse files
akpm00gregkh
authored andcommitted
sysfs: bin.c printk fix
fs/sysfs/bin.c: In function 'read': fs/sysfs/bin.c:77: warning: format '%zd' expects type 'signed size_t', but argument 4 has type 'int' Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent b2366d6 commit 45cd8d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/sysfs/bin.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ read(struct file * file, char __user * userbuf, size_t count, loff_t * off)
5959
if (copy_to_user(userbuf, buffer, count))
6060
return -EFAULT;
6161

62-
pr_debug("offs = %lld, *off = %lld, count = %zd\n", offs, *off, count);
62+
pr_debug("offs = %lld, *off = %lld, count = %d\n", offs, *off, count);
6363

6464
*off = offs + count;
6565

0 commit comments

Comments
 (0)