mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 08:43:31 +00:00
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>
This commit is contained in:
parent
b2366d68d9
commit
45cd8d8e1e
1 changed files with 1 additions and 1 deletions
|
@ -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 = %zd\n", offs, *off, count);
|
||||
pr_debug("offs = %lld, *off = %lld, count = %d\n", offs, *off, count);
|
||||
|
||||
*off = offs + count;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue